summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-20 22:13:52 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-20 22:13:52 +0000
commit0d9c7b5bcbc1fd90a810780b5b58835ee8590f54 (patch)
treeebb75c26a31d219a21ecc7aeba30f3c9956a0f62 /apps/gui/gwps.h
parent6707892151dbfe4f09901fd4f33d172aac5a5d56 (diff)
downloadrockbox-0d9c7b5bcbc1fd90a810780b5b58835ee8590f54.tar.gz
rockbox-0d9c7b5bcbc1fd90a810780b5b58835ee8590f54.zip
Applied Stephan Wezel's patch for the new wps %wd/%we tags (disable/enable statusbar in wps mode independantly from the global setting)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8015 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r--apps/gui/gwps.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index 5c2bd925ab..40b9a7424d 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -20,6 +20,7 @@
20#define _WPS_H 20#define _WPS_H
21 21
22#include "screen_access.h" 22#include "screen_access.h"
23#include "statusbar.h"
23#include "id3.h" 24#include "id3.h"
24#include "playlist.h" 25#include "playlist.h"
25 26
@@ -319,6 +320,7 @@ struct gui_wps
319 struct screen * display; 320 struct screen * display;
320 struct wps_data *data; 321 struct wps_data *data;
321 struct wps_state *state; 322 struct wps_state *state;
323 struct gui_statusbar *statusbar;
322}; 324};
323 325
324/* initial setup of a wps */ 326/* initial setup of a wps */
@@ -329,6 +331,9 @@ void gui_wps_set_data(struct gui_wps *gui_wps, struct wps_data *data);
329 331
330/* connects a wps with a screen */ 332/* connects a wps with a screen */
331void gui_wps_set_disp(struct gui_wps *gui_wps, struct screen *display); 333void gui_wps_set_disp(struct gui_wps *gui_wps, struct screen *display);
334
335/* connects a wps with a statusbar*/
336void gui_wps_set_statusbar(struct gui_wps *gui_wps, struct gui_statusbar *statusbar);
332/* gui_wps end */ 337/* gui_wps end */
333 338
334long gui_wps_show(void); 339long gui_wps_show(void);
@@ -338,7 +343,6 @@ extern struct wps_state wps_state;
338extern struct gui_wps gui_wps[NB_SCREENS]; 343extern struct gui_wps gui_wps[NB_SCREENS];
339 344
340void gui_sync_wps_init(void); 345void gui_sync_wps_init(void);
341void gui_sync_data_wps_init(void);
342void gui_sync_wps_screen_init(void); 346void gui_sync_wps_screen_init(void);
343 347
344#endif 348#endif