summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-07-18 11:18:52 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-07-18 11:18:52 +0000
commitf074b4635b558238b4debad4ebf14fa675496d23 (patch)
tree7319caad054f9ee23d73d3d64bbc6d6da1037d78 /apps/screen_access.c
parente6a3f7d731d58e5d9d9397327e7e4ced6a4373aa (diff)
downloadrockbox-f074b4635b558238b4debad4ebf14fa675496d23.tar.gz
rockbox-f074b4635b558238b4debad4ebf14fa675496d23.tar.bz2
rockbox-f074b4635b558238b4debad4ebf14fa675496d23.zip
Cleaned up the demistify plugin a litle bit, switched the key handling to the action API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index a33f14b9c2..d6ca938439 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -38,6 +38,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
{
#ifdef HAVE_REMOTE_LCD
case SCREEN_REMOTE:
+ screen->is_color=false;/* No color remotes yet */
screen->depth=LCD_REMOTE_DEPTH;
screen->has_disk_led=false;
@@ -112,6 +113,11 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
case SCREEN_MAIN:
default:
+#if defined(HAVE_LCD_COLOR)
+ screen->is_color=true;
+#else
+ screen->is_color=false;
+#endif
screen->depth=LCD_DEPTH;
#if (CONFIG_LED == LED_VIRTUAL)
screen->has_disk_led=false;