summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-11-08 23:31:18 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-11-08 23:31:18 +0000
commit07afdd2614ff6e611296867ba6c82e07d7e54158 (patch)
treec801df51a9f6a18307109b4b51ac1a1c3d883d53 /apps
parentfbc938864cdf701e72b402d6c913739a973ffb20 (diff)
downloadrockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.tar.gz
rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.tar.bz2
rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.zip
Added set_background() for color LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/screen_access.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index c94e0bd95f..08e0ef0cb2 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -70,7 +70,11 @@ struct screen
int x, int y, int width, int height);
void (*set_drawmode)(int mode);
#if LCD_DEPTH > 1
+#if HAVE_LCD_COLOR
+ void (*set_background)(struct rgb color);
+#else
void (*set_background)(int brightness);
+#endif
#endif /* LCD_DEPTH > 1 */
void (*update_rect)(int x, int y, int width, int height);
void (*fillrect)(int x, int y, int width, int height);