summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-07 04:24:21 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-07 04:24:21 +0000
commiteed62f1657f4f2b08571f0bd2b1827f3a71dac87 (patch)
tree1023d721c59e29150f445bbba25a0e11bed4c1ae /apps/gui
parentff3bb3aa18e71860d644a50632088ec282968de4 (diff)
downloadrockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.zip
rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.gz
rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.bz2
rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.xz
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/statusbar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index d3f4813..f1943f3 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -258,8 +258,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
#endif
#ifdef HAVE_RECORDING
/* turn off volume display in recording screen */
- bool recscreen_on = in_recording_screen();
- if (!recscreen_on)
+ if (!global_status.in_recording_screen)
#endif
bar->redraw_volume = gui_statusbar_icon_volume(bar, bar->info.volume);
gui_statusbar_icon_play_state(display, current_playmode() + Icon_Play);
@@ -267,7 +266,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
#ifdef HAVE_RECORDING
/* If in recording screen, replace repeat mode, volume
and shuffle icons with recording info */
- if (recscreen_on)
+ if (global_status.in_recording_screen)
gui_statusbar_icon_recording_info(display);
else
#endif