From 07afdd2614ff6e611296867ba6c82e07d7e54158 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 8 Nov 2005 23:31:18 +0000 Subject: Added set_background() for color LCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7794 a1c6a512-1295-4272-9138-f99709370657 --- apps/screen_access.h | 4 ++++ 1 file changed, 4 insertions(+) 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); -- cgit v1.1