From a06f6eedae542afc48cf0aa5e30b4647e18547a2 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 8 Jul 2009 00:51:03 +0000 Subject: 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 --- apps/gui/statusbar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/gui/statusbar.h') 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_*/ -- cgit v1.2.3