diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-08 23:31:18 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-08 23:31:18 +0000 |
| commit | 07afdd2614ff6e611296867ba6c82e07d7e54158 (patch) | |
| tree | c801df51a9f6a18307109b4b51ac1a1c3d883d53 | |
| parent | fbc938864cdf701e72b402d6c913739a973ffb20 (diff) | |
| download | rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.zip rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.tar.gz rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.tar.bz2 rockbox-07afdd2614ff6e611296867ba6c82e07d7e54158.tar.xz | |
Added set_background() for color LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7794 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/screen_access.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index c94e0bd..08e0ef0 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); |