From 5b2cba17aa95ececfdb6a498540de4dfa215e920 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 16 Nov 2005 21:09:23 +0000 Subject: Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657 --- apps/screen_access.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/screen_access.h') diff --git a/apps/screen_access.h b/apps/screen_access.h index c167708fbf..6111de9de4 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -76,11 +76,7 @@ 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 + void (*set_background)(unsigned background); #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.2.3