diff options
| author | Kevin Ferrare <kevin@rockbox.org> | 2007-08-04 03:01:46 +0000 |
|---|---|---|
| committer | Kevin Ferrare <kevin@rockbox.org> | 2007-08-04 03:01:46 +0000 |
| commit | 93b2f9fd447b73fff736d71826880ef9ac64bd94 (patch) | |
| tree | 1a4f54016c312738d66fb9dd2348ea0ef14f1255 /apps/screen_access.c | |
| parent | ffbbc60f38ddc8aeadc9cea1102077e22ca84a1a (diff) | |
| download | rockbox-93b2f9fd447b73fff736d71826880ef9ac64bd94.zip rockbox-93b2f9fd447b73fff736d71826880ef9ac64bd94.tar.gz rockbox-93b2f9fd447b73fff736d71826880ef9ac64bd94.tar.bz2 rockbox-93b2f9fd447b73fff736d71826880ef9ac64bd94.tar.xz | |
Rewrote the clock plugin in a cleaner and more modular way so that it can scale on remote screens. Use left-right keys to change the type of clock displayed (analogic, digital, binary) and up/downto change the look of the clock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14174 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
| -rw-r--r-- | apps/screen_access.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 2d2013e..b5731cf 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -39,6 +39,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->pixel_format=LCD_REMOTE_PIXELFORMAT; screen->depth=LCD_REMOTE_DEPTH; screen->has_disk_led=false; @@ -118,6 +119,9 @@ void screen_init(struct screen * screen, enum screen_type screen_type) #else screen->is_color=false; #endif +#ifdef HAVE_LCD_BITMAP + screen->pixel_format=LCD_PIXELFORMAT; +#endif screen->depth=LCD_DEPTH; #if (CONFIG_LED == LED_VIRTUAL) screen->has_disk_led=false; |