summaryrefslogtreecommitdiffstats
path: root/apps/alarm_menu.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-16 15:12:15 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-16 15:12:15 +0000
commite991beed6df8700b41796c4c14ef786f45fb54c5 (patch)
tree63543693276236f18a91c3de87e2353625eb85dc /apps/alarm_menu.c
parent76b75efa060b55bc7cbf66bae3401af57d907440 (diff)
downloadrockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.tar.gz
rockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.tar.bz2
rockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.zip
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/alarm_menu.c')
-rw-r--r--apps/alarm_menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c
index e8b421955c..9df664f8a8 100644
--- a/apps/alarm_menu.c
+++ b/apps/alarm_menu.c
@@ -43,6 +43,7 @@
#include "alarm_menu.h"
#include "backlight.h"
+#include "splash.h"
#define MARGIN_Y (global_settings.statusbar ? STATUSBAR_HEIGHT : 0)
bool alarm_screen(void)
@@ -92,11 +93,11 @@ bool alarm_screen(void)
rtc_init();
rtc_set_alarm(h,m);
rtc_enable_alarm(true);
- splash(HZ*2, true, str(LANG_ALARM_MOD_TIME_TO_GO),
+ gui_syncsplash(HZ*2, true, str(LANG_ALARM_MOD_TIME_TO_GO),
togo / 60, togo % 60);
done = true;
} else {
- splash(HZ, true, str(LANG_ALARM_MOD_ERROR));
+ gui_syncsplash(HZ, true, str(LANG_ALARM_MOD_ERROR));
update = true;
}
break;
@@ -146,7 +147,7 @@ bool alarm_screen(void)
case BUTTON_MENU:
#endif
rtc_enable_alarm(false);
- splash(HZ*2, true, str(LANG_ALARM_MOD_DISABLE));
+ gui_syncsplash(HZ*2, true, str(LANG_ALARM_MOD_DISABLE));
done = true;
break;