summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-16 21:09:23 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-16 21:09:23 +0000
commit5b2cba17aa95ececfdb6a498540de4dfa215e920 (patch)
tree3574eab7dc84f588268b72f6db56744fcc4d0e64 /apps/plugin.c
parent15046f99b3840c07bdd9d52e7014c6e775267c55 (diff)
downloadrockbox-5b2cba17aa95ececfdb6a498540de4dfa215e920.tar.gz
rockbox-5b2cba17aa95ececfdb6a498540de4dfa215e920.zip
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
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a30b089e55..d5607aa822 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -434,7 +434,7 @@ int plugin_load(const char* plugin, void* parameter)
434 button_clear_queue(); 434 button_clear_queue();
435#ifdef HAVE_LCD_BITMAP 435#ifdef HAVE_LCD_BITMAP
436#if LCD_DEPTH > 1 436#if LCD_DEPTH > 1
437 lcd_set_drawinfo(DRMODE_SOLID, LCD_BLACK, LCD_WHITE); 437 lcd_set_drawinfo(DRMODE_SOLID, LCD_DEFAULT_FG, LCD_DEFAULT_BG);
438#else /* LCD_DEPTH == 1 */ 438#else /* LCD_DEPTH == 1 */
439 lcd_set_drawmode(DRMODE_SOLID); 439 lcd_set_drawmode(DRMODE_SOLID);
440#endif /* LCD_DEPTH */ 440#endif /* LCD_DEPTH */