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/plugins/sudoku.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'apps/plugins/sudoku.c') diff --git a/apps/plugins/sudoku.c b/apps/plugins/sudoku.c index 526416d11e..bab53bbad4 100644 --- a/apps/plugins/sudoku.c +++ b/apps/plugins/sudoku.c @@ -362,16 +362,6 @@ static unsigned char num_inverse[10][8]= { #error SUDOKU: Unsupported LCD size #endif -#if LCD_DEPTH > 1 -#if HAVE_LCD_COLOR -#define LIGHT_GRAY ((struct rgb){2*LCD_MAX_RED/3, 2*LCD_MAX_GREEN/3, 2*LCD_MAX_BLUE/3}) -#define DARK_GRAY ((struct rgb){LCD_MAX_RED/3, LCD_MAX_GREEN/3, LCD_MAX_BLUE/3}) -#else -#define LIGHT_GRAY (2*LCD_MAX_LEVEL/3) -#define DARK_GRAY (LCD_MAX_LEVEL/3) -#endif -#endif - /* here is a global api struct pointer. while not strictly necessary, it's nice not to have to pass the api pointer in all function calls in the plugin */ -- cgit v1.2.3