summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lib/gray.h10
-rw-r--r--apps/plugins/lib/gray_set_background.c2
-rw-r--r--apps/plugins/lib/gray_set_drawinfo.c2
-rw-r--r--apps/plugins/lib/gray_set_drawmode.c2
-rw-r--r--apps/plugins/lib/gray_set_foreground.c2
-rw-r--r--apps/plugins/lib/gray_setfont.c2
6 files changed, 20 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 */
143void gray_set_drawmode(int drawmode); 145void 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 */
159void gray_set_foreground(int brightness); 163void 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 */
166void gray_set_background(int brightness); 172void 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 */
174void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness); 182void 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 */
382void gray_setfont(int newfont); 392void gray_setfont(int newfont);
383 393
diff --git a/apps/plugins/lib/gray_set_background.c b/apps/plugins/lib/gray_set_background.c
index b2cbedfcc0..c78e9ff112 100644
--- a/apps/plugins/lib/gray_set_background.c
+++ b/apps/plugins/lib/gray_set_background.c
@@ -33,6 +33,8 @@
33 Set the background shade for subsequent drawing operations 33 Set the background shade for subsequent drawing operations
34 ---------------------------------------------------------------------------- 34 ----------------------------------------------------------------------------
35 brightness = 0 (black) .. 255 (white) 35 brightness = 0 (black) .. 255 (white)
36
37 Default after initialization: 255
36 */ 38 */
37void gray_set_background(int brightness) 39void gray_set_background(int brightness)
38{ 40{
diff --git a/apps/plugins/lib/gray_set_drawinfo.c b/apps/plugins/lib/gray_set_drawinfo.c
index 123d3d8939..59928882d7 100644
--- a/apps/plugins/lib/gray_set_drawinfo.c
+++ b/apps/plugins/lib/gray_set_drawinfo.c
@@ -34,6 +34,8 @@
34 ---------------------------------------------------------------------------- 34 ----------------------------------------------------------------------------
35 If you hand it -1 (or in fact any other out-of-bounds value) for a 35 If you hand it -1 (or in fact any other out-of-bounds value) for a
36 parameter, that particular setting won't be changed 36 parameter, that particular setting won't be changed
37
38 Default after initialization: GRAY_DRAW_SOLID, 0, 255
37 */ 39 */
38void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness) 40void gray_set_drawinfo(int drawmode, int fg_brightness, int bg_brightness)
39{ 41{
diff --git a/apps/plugins/lib/gray_set_drawmode.c b/apps/plugins/lib/gray_set_drawmode.c
index b32f2a2211..969b99894f 100644
--- a/apps/plugins/lib/gray_set_drawmode.c
+++ b/apps/plugins/lib/gray_set_drawmode.c
@@ -38,6 +38,8 @@
38 GRAY_DRAW_FG: Only foreground pixels are drawn 38 GRAY_DRAW_FG: Only foreground pixels are drawn
39 GRAY_DRAW_BG: Only background pixels are drawn 39 GRAY_DRAW_BG: Only background pixels are drawn
40 GRAY_DRAW_SOLID: Foreground and background pixels are drawn 40 GRAY_DRAW_SOLID: Foreground and background pixels are drawn
41
42 Default after initialization: GRAY_DRAW_SOLID
41 */ 43 */
42void gray_set_drawmode(int drawmode) 44void gray_set_drawmode(int drawmode)
43{ 45{
diff --git a/apps/plugins/lib/gray_set_foreground.c b/apps/plugins/lib/gray_set_foreground.c
index 994f9d6d25..afde64f645 100644
--- a/apps/plugins/lib/gray_set_foreground.c
+++ b/apps/plugins/lib/gray_set_foreground.c
@@ -33,6 +33,8 @@
33 Set the foreground shade for subsequent drawing operations 33 Set the foreground shade for subsequent drawing operations
34 ---------------------------------------------------------------------------- 34 ----------------------------------------------------------------------------
35 brightness = 0 (black) .. 255 (white) 35 brightness = 0 (black) .. 255 (white)
36
37 Default after initialization: 0
36 */ 38 */
37void gray_set_foreground(int brightness) 39void gray_set_foreground(int brightness)
38{ 40{
diff --git a/apps/plugins/lib/gray_setfont.c b/apps/plugins/lib/gray_setfont.c
index ed68362484..714a1f5b17 100644
--- a/apps/plugins/lib/gray_setfont.c
+++ b/apps/plugins/lib/gray_setfont.c
@@ -34,6 +34,8 @@
34 ---------------------------------------------------------------------------- 34 ----------------------------------------------------------------------------
35 newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox 35 newfont can be FONT_SYSFIXED or FONT_UI the same way as with the Rockbox
36 core routines 36 core routines
37
38 Default after initialization: FONT_SYSFIXED
37 */ 39 */
38void gray_setfont(int newfont) 40void gray_setfont(int newfont)
39{ 41{