summaryrefslogtreecommitdiff
path: root/apps/recorder
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/recorder
parent76b75efa060b55bc7cbf66bae3401af57d907440 (diff)
downloadrockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.tar.gz
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/recorder')
-rw-r--r--apps/recorder/radio.c6
-rw-r--r--apps/recorder/recording.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index fa0f091156..1c54602e73 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -814,7 +814,7 @@ bool radio_screen(void)
814#ifndef SIMULATOR 814#ifndef SIMULATOR
815 if(audio_status() & AUDIO_STATUS_ERROR) 815 if(audio_status() & AUDIO_STATUS_ERROR)
816 { 816 {
817 splash(0, true, str(LANG_DISK_FULL)); 817 gui_syncsplash(0, true, str(LANG_DISK_FULL));
818 gui_syncstatusbar_draw(&statusbars,true); 818 gui_syncstatusbar_draw(&statusbars,true);
819 FOR_NB_SCREENS(i) 819 FOR_NB_SCREENS(i)
820 gui_textarea_update(&screens[i]); 820 gui_textarea_update(&screens[i]);
@@ -878,7 +878,7 @@ void radio_save_presets(void)
878 } 878 }
879 else 879 else
880 { 880 {
881 splash(HZ*2, true, str(LANG_FM_PRESET_SAVE_FAILED)); 881 gui_syncsplash(HZ*2, true, str(LANG_FM_PRESET_SAVE_FAILED));
882 } 882 }
883} 883}
884 884
@@ -959,7 +959,7 @@ bool radio_add_preset(void)
959 } 959 }
960 else 960 else
961 { 961 {
962 splash(HZ*2, true, str(LANG_FM_NO_FREE_PRESETS)); 962 gui_syncsplash(HZ*2, true, str(LANG_FM_NO_FREE_PRESETS));
963 } 963 }
964 return true; 964 return true;
965} 965}
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 62b5dff489..eda56a5bf9 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -59,7 +59,7 @@
59#include "atoi.h" 59#include "atoi.h"
60#include "sound.h" 60#include "sound.h"
61#include "ata.h" 61#include "ata.h"
62 62#include "splash.h"
63#ifdef HAVE_RECORDING 63#ifdef HAVE_RECORDING
64 64
65 65
@@ -228,7 +228,7 @@ int rec_create_directory(void)
228 rc = mkdir(rec_base_directory, 0); 228 rc = mkdir(rec_base_directory, 0);
229 if(rc < 0 && errno != EEXIST) 229 if(rc < 0 && errno != EEXIST)
230 { 230 {
231 splash(HZ * 2, true, 231 gui_syncsplash(HZ * 2, true,
232 "Can't create the %s directory. Error code %d.", 232 "Can't create the %s directory. Error code %d.",
233 rec_base_directory, rc); 233 rec_base_directory, rc);
234 return -1; 234 return -1;
@@ -859,7 +859,7 @@ bool recording_screen(void)
859#endif 859#endif
860 if (audio_stat & AUDIO_STATUS_ERROR) 860 if (audio_stat & AUDIO_STATUS_ERROR)
861 { 861 {
862 splash(0, true, str(LANG_DISK_FULL)); 862 gui_syncsplash(0, true, str(LANG_DISK_FULL));
863 status_draw(true); 863 status_draw(true);
864 lcd_update(); 864 lcd_update();
865 audio_error_clear(); 865 audio_error_clear();