summaryrefslogtreecommitdiff
path: root/apps/gui/statusbar.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-08 00:51:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-08 00:51:03 +0000
commita06f6eedae542afc48cf0aa5e30b4647e18547a2 (patch)
tree1b14ae67f85e37e9ed4186094c2cf5de8c8b453b /apps/gui/statusbar.h
parent008f611bca3173e21027a568540281c0d7d03ef2 (diff)
downloadrockbox-a06f6eedae542afc48cf0aa5e30b4647e18547a2.tar.gz
rockbox-a06f6eedae542afc48cf0aa5e30b4647e18547a2.zip
cleanup the remote+main statusbar handling a bit, and fix the bug where the remote wps might reserve the space for the statusbar even if its disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21709 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r--apps/gui/statusbar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h
index db0ff9d780..f346c92f5a 100644
--- a/apps/gui/statusbar.h
+++ b/apps/gui/statusbar.h
@@ -99,5 +99,10 @@ struct gui_syncstatusbar
99extern void gui_syncstatusbar_init(struct gui_syncstatusbar * bars); 99extern void gui_syncstatusbar_init(struct gui_syncstatusbar * bars);
100extern void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars, bool force_redraw); 100extern void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars, bool force_redraw);
101void gui_statusbar_changed(int enabled); 101void gui_statusbar_changed(int enabled);
102#ifndef HAVE_REMOTE_LCD
103#define statusbar_position(a) (global_settings.statusbar)
104#else
105int statusbar_position(int screen);
106#endif
102 107
103#endif /*_GUI_STATUSBAR_H_*/ 108#endif /*_GUI_STATUSBAR_H_*/