diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-22 23:48:32 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-22 23:48:32 +0000 |
commit | e57471a1bed393c1ab8c8560134b2818b4b96ffd (patch) | |
tree | e9845478dfb8752194fc03fd725197ac2c6fdf4d /apps/gui | |
parent | 0dac8b77b8214f3f2b4a082e9d512b2352459742 (diff) |
H300: RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8284 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/statusbar.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index 56d1647d9b..80de707a72 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -93,10 +93,15 @@ 7*ICONS_SPACING #define STATUSBAR_LOCKR_WIDTH 5 +#if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) #define STATUSBAR_DISK_WIDTH 12 #define STATUSBAR_DISK_X_POS(statusbar_width) statusbar_width - \ STATUSBAR_DISK_WIDTH -#define STATUSBAR_TIME_X_END(statusbar_width) statusbar_width-1 +#else +#define STATUSBAR_DISK_WIDTH 0 +#endif +#define STATUSBAR_TIME_X_END(statusbar_width) statusbar_width - 1 - \ + STATUSBAR_DISK_WIDTH struct gui_syncstatusbar statusbars; |