diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-08 00:51:03 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-08 00:51:03 +0000 |
commit | a06f6eedae542afc48cf0aa5e30b4647e18547a2 (patch) | |
tree | 1b14ae67f85e37e9ed4186094c2cf5de8c8b453b /apps/gui/statusbar.h | |
parent | 008f611bca3173e21027a568540281c0d7d03ef2 (diff) |
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.h | 5 |
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 extern void gui_syncstatusbar_init(struct gui_syncstatusbar * bars); extern void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars, bool force_redraw); void gui_statusbar_changed(int enabled); +#ifndef HAVE_REMOTE_LCD +#define statusbar_position(a) (global_settings.statusbar) +#else +int statusbar_position(int screen); +#endif #endif /*_GUI_STATUSBAR_H_*/ |