summaryrefslogtreecommitdiffstats
path: root/apps/alarm_menu.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:10 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:10 +0000
commit8302c5fe17b0c9e74f1c1d9941c852153516387d (patch)
treec5684328efb826c404f23967e1ecabf27d78c073 /apps/alarm_menu.c
parent172fc967b07f59e4928db9ca331f2f7a3a383c04 (diff)
downloadrockbox-8302c5fe17b0c9e74f1c1d9941c852153516387d.tar.gz
rockbox-8302c5fe17b0c9e74f1c1d9941c852153516387d.tar.bz2
rockbox-8302c5fe17b0c9e74f1c1d9941c852153516387d.zip
Wakeup alarm screen is unusuable with large fonts or small screens
Split the description and the time on 2 lines Flyspray: FS#11274 Authors: Clément Pit--Claudel (CFP) and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26244 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/alarm_menu.c')
-rw-r--r--apps/alarm_menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c
index 1cd0bc4670..b87ae2b53a 100644
--- a/apps/alarm_menu.c
+++ b/apps/alarm_menu.c
@@ -83,7 +83,7 @@ bool alarm_screen(void)
{
screens[i].set_viewport(&vp[i]);
screens[i].clear_viewport();
- screens[i].puts(0, 3, str(LANG_ALARM_MOD_KEYS));
+ screens[i].puts(0, 4, str(LANG_ALARM_MOD_KEYS));
}
/* Talk when entering the wakeup screen */
speak_time(h, m, true, true);
@@ -93,7 +93,8 @@ bool alarm_screen(void)
FOR_NB_SCREENS(i)
{
screens[i].set_viewport(&vp[i]);
- screens[i].putsf(0, 1, str(LANG_ALARM_MOD_TIME), h, m);
+ screens[i].putsf(0, 1, str(LANG_ALARM_MOD_TIME));
+ screens[i].putsf(0, 2, "%02d:%02d", h, m);
screens[i].update_viewport();
screens[i].set_viewport(NULL);
}