diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-26 00:06:27 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-26 00:06:27 +0000 |
commit | af967d77d39307d7c9faacd360b117fdaa63f64a (patch) | |
tree | 97f58bfa26f167b0a1e6b944fb6809b1cfe0cd07 /apps/gui/skin_engine/wps_internals.h | |
parent | 51743419993ca23bb78d00b195eb2773743aed39 (diff) | |
download | rockbox-af967d77d39307d7c9faacd360b117fdaa63f64a.tar.gz rockbox-af967d77d39307d7c9faacd360b117fdaa63f64a.zip |
Fix skin engine calling wps code to draw the statusbars (add a pointer to viewportmanager-suitable statusbar values, which are the same for all screens), and re-arrange statusbar related code slightly. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22514 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 20a9dde9f9..fbd18b9f73 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -286,10 +286,6 @@ struct wps_data | |||
286 | unsigned int button_time_volume; | 286 | unsigned int button_time_volume; |
287 | }; | 287 | }; |
288 | 288 | ||
289 | |||
290 | /* Redraw statusbars if necessary */ | ||
291 | void gwps_draw_statusbars(void); | ||
292 | |||
293 | /* Returns the index of the last subline's token in the token array. | 289 | /* Returns the index of the last subline's token in the token array. |
294 | line - 0-based line number | 290 | line - 0-based line number |
295 | subline - 0-based subline number within the line | 291 | subline - 0-based subline number within the line |
@@ -332,6 +328,12 @@ struct gui_wps | |||
332 | struct screen *display; | 328 | struct screen *display; |
333 | struct wps_data *data; | 329 | struct wps_data *data; |
334 | struct wps_state *state; | 330 | struct wps_state *state; |
331 | |||
332 | /* suitable for the viewportmanager, possibly only temporary here | ||
333 | * needs to be same for all screens! can't be split up for screens | ||
334 | * due to what viewportmanager_set_statusbar() accepts | ||
335 | * (FIXME?) */ | ||
336 | int *statusbars; | ||
335 | }; | 337 | }; |
336 | 338 | ||
337 | /* gui_wps end */ | 339 | /* gui_wps end */ |