diff options
Diffstat (limited to 'apps/plugins/lib/gray.h')
-rw-r--r-- | apps/plugins/lib/gray.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/lib/gray.h b/apps/plugins/lib/gray.h index b7b0affd73..918d7ecb4a 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); | |||
139 | GRAY_DRAW_FG: Only foreground pixels are drawn | 139 | GRAY_DRAW_FG: Only foreground pixels are drawn |
140 | GRAY_DRAW_BG: Only background pixels are drawn | 140 | GRAY_DRAW_BG: Only background pixels are drawn |
141 | GRAY_DRAW_SOLID: Foreground and background pixels are drawn | 141 | GRAY_DRAW_SOLID: Foreground and background pixels are drawn |
142 | |||
143 | Default after initialization: GRAY_DRAW_SOLID | ||
142 | */ | 144 | */ |
143 | void gray_set_drawmode(int drawmode); | 145 | void gray_set_drawmode(int drawmode); |
144 | 146 | ||
@@ -155,6 +157,8 @@ void gray_set_drawmode(int drawmode); | |||
155 | Set the foreground shade for subsequent drawing operations | 157 | Set the foreground shade for subsequent drawing operations |
156 | ---------------------------------------------------------------------------- | 158 | ---------------------------------------------------------------------------- |
157 | brightness = 0 (black) .. 255 (white) | 159 | brightness = 0 (black) .. 255 (white) |
160 | |||
161 | Default after initialization: 0 | ||
158 | */ | 162 | */ |
159 | void gray_set_foreground(int brightness); | 163 | void gray_set_foreground(int brightness); |
160 | 164 | ||
@@ -162,6 +166,8 @@ void gray_set_foreground(int brightness); | |||
162 | Set the background shade for subsequent drawing operations | 166 | Set the background shade for subsequent drawing operations |
163 | ---------------------------------------------------------------------------- | 167 | ---------------------------------------------------------------------------- |
164 | brightness = 0 (black) .. 255 (white) | 168 | brightness = 0 (black) .. 255 (white) |
169 | |||
170 | Default after initialization: 255 | ||
165 | */ | 171 | */ |
166 | void gray_set_background(int brightness); | 172 | void gray_set_background(int brightness); |
167 | 173 | ||
@@ -170,6 +176,8 @@ void gray_set_background(int brightness); | |||
170 | ---------------------------------------------------------------------------- | 176 | ---------------------------------------------------------------------------- |
171 | If you hand it -1 (or in fact any other out-of-bounds value) for a | 177 | If you hand it -1 (or in fact any other out-of-bounds value) for a |
172 | parameter, that particular setting won't be changed | 178 | parameter, that particular setting won't be changed |
179 | |||
180 | Default after initialization: GRAY_DRAW_SOLID, 0, 255 | ||
173 | */ | 181 | */ |
174 | void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); | 182 | void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); |
175 | 183 | ||
@@ -378,6 +386,8 @@ void gray_drawbitmap(unsigned char *src, int x, int y, int nx, int ny, | |||
378 | ---------------------------------------------------------------------------- | 386 | ---------------------------------------------------------------------------- |
379 | newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox | 387 | newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox |
380 | core routines | 388 | core routines |
389 | |||
390 | Default after initialization: FONT_SYSFIXED | ||
381 | */ | 391 | */ |
382 | void gray_setfont(int newfont); | 392 | void gray_setfont(int newfont); |
383 | 393 | ||