diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-06-25 21:09:34 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-06-25 21:09:34 +0000 |
| commit | 0690ac1966772975879540a4c614b497858ecfb7 (patch) | |
| tree | 8e223dccdf10bb38b902a08633112f4e1b68ccbc /apps/plugins/lib | |
| parent | b058366b1310bb8495bdc002a86e3c2500aa5e6f (diff) | |
| download | rockbox-0690ac1966772975879540a4c614b497858ecfb7.zip rockbox-0690ac1966772975879540a4c614b497858ecfb7.tar.gz rockbox-0690ac1966772975879540a4c614b497858ecfb7.tar.bz2 rockbox-0690ac1966772975879540a4c614b497858ecfb7.tar.xz | |
added comments about default values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4804 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
| -rw-r--r-- | apps/plugins/lib/gray.h | 10 | ||||
| -rw-r--r-- | apps/plugins/lib/gray_set_background.c | 2 | ||||
| -rw-r--r-- | apps/plugins/lib/gray_set_drawinfo.c | 2 | ||||
| -rw-r--r-- | apps/plugins/lib/gray_set_drawmode.c | 2 | ||||
| -rw-r--r-- | apps/plugins/lib/gray_set_foreground.c | 2 | ||||
| -rw-r--r-- | apps/plugins/lib/gray_setfont.c | 2 |
6 files changed, 20 insertions, 0 deletions
diff --git a/apps/plugins/lib/gray.h b/apps/plugins/lib/gray.h index b7b0aff..918d7ec 100644 --- a/apps/plugins/lib/gray.h +++ b/apps/plugins/lib/gray.h @@ -139,6 +139,8 @@ void gray_position_display(int x, int by); GRAY_DRAW_FG: Only foreground pixels are drawn GRAY_DRAW_BG: Only background pixels are drawn GRAY_DRAW_SOLID: Foreground and background pixels are drawn + + Default after initialization: GRAY_DRAW_SOLID */ void gray_set_drawmode(int drawmode); @@ -155,6 +157,8 @@ void gray_set_drawmode(int drawmode); Set the foreground shade for subsequent drawing operations ---------------------------------------------------------------------------- brightness = 0 (black) .. 255 (white) + + Default after initialization: 0 */ void gray_set_foreground(int brightness); @@ -162,6 +166,8 @@ void gray_set_foreground(int brightness); Set the background shade for subsequent drawing operations ---------------------------------------------------------------------------- brightness = 0 (black) .. 255 (white) + + Default after initialization: 255 */ void gray_set_background(int brightness); @@ -170,6 +176,8 @@ void gray_set_background(int brightness); ---------------------------------------------------------------------------- If you hand it -1 (or in fact any other out-of-bounds value) for a parameter, that particular setting won't be changed + + Default after initialization: GRAY_DRAW_SOLID, 0, 255 */ void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); @@ -378,6 +386,8 @@ void gray_drawbitmap(unsigned char *src, int x, int y, int nx, int ny, ---------------------------------------------------------------------------- newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox core routines + + Default after initialization: FONT_SYSFIXED */ void gray_setfont(int newfont); diff --git a/apps/plugins/lib/gray_set_background.c b/apps/plugins/lib/gray_set_background.c index b2cbedf..c78e9ff 100644 --- a/apps/plugins/lib/gray_set_background.c +++ b/apps/plugins/lib/gray_set_background.c @@ -33,6 +33,8 @@ Set the background shade for subsequent drawing operations ---------------------------------------------------------------------------- brightness = 0 (black) .. 255 (white) + + Default after initialization: 255 */ void gray_set_background(int brightness) { diff --git a/apps/plugins/lib/gray_set_drawinfo.c b/apps/plugins/lib/gray_set_drawinfo.c index 123d3d8..5992888 100644 --- a/apps/plugins/lib/gray_set_drawinfo.c +++ b/apps/plugins/lib/gray_set_drawinfo.c @@ -34,6 +34,8 @@ ---------------------------------------------------------------------------- If you hand it -1 (or in fact any other out-of-bounds value) for a parameter, that particular setting won't be changed + + Default after initialization: GRAY_DRAW_SOLID, 0, 255 */ void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness) { diff --git a/apps/plugins/lib/gray_set_drawmode.c b/apps/plugins/lib/gray_set_drawmode.c index b32f2a2..969b998 100644 --- a/apps/plugins/lib/gray_set_drawmode.c +++ b/apps/plugins/lib/gray_set_drawmode.c @@ -38,6 +38,8 @@ GRAY_DRAW_FG: Only foreground pixels are drawn GRAY_DRAW_BG: Only background pixels are drawn GRAY_DRAW_SOLID: Foreground and background pixels are drawn + + Default after initialization: GRAY_DRAW_SOLID */ void gray_set_drawmode(int drawmode) { diff --git a/apps/plugins/lib/gray_set_foreground.c b/apps/plugins/lib/gray_set_foreground.c index 994f9d6..afde64f 100644 --- a/apps/plugins/lib/gray_set_foreground.c +++ b/apps/plugins/lib/gray_set_foreground.c @@ -33,6 +33,8 @@ Set the foreground shade for subsequent drawing operations ---------------------------------------------------------------------------- brightness = 0 (black) .. 255 (white) + + Default after initialization: 0 */ void gray_set_foreground(int brightness) { diff --git a/apps/plugins/lib/gray_setfont.c b/apps/plugins/lib/gray_setfont.c index ed68362..714a1f5 100644 --- a/apps/plugins/lib/gray_setfont.c +++ b/apps/plugins/lib/gray_setfont.c @@ -34,6 +34,8 @@ ---------------------------------------------------------------------------- newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox core routines + + Default after initialization: FONT_SYSFIXED */ void gray_setfont(int newfont) { |