diff options
| author | Christi Scarborough <christi@coraline.org> | 2005-11-25 21:22:28 +0000 |
|---|---|---|
| committer | Christi Scarborough <christi@coraline.org> | 2005-11-25 21:22:28 +0000 |
| commit | 9589324082eb9848252bfee6061f74b814f96392 (patch) | |
| tree | 43f3d97cb52621eac061b629ad94a01e1dd641df /apps | |
| parent | bce7c3eb501ff1bb44a3ab3740a66eb09b8ab779 (diff) | |
| download | rockbox-9589324082eb9848252bfee6061f74b814f96392.zip rockbox-9589324082eb9848252bfee6061f74b814f96392.tar.gz rockbox-9589324082eb9848252bfee6061f74b814f96392.tar.bz2 rockbox-9589324082eb9848252bfee6061f74b814f96392.tar.xz | |
Quick screen patch by _firefly_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8065 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/gwps.c | 14 | ||||
| -rw-r--r-- | apps/gui/quickscreen.c | 1 |
2 files changed, 11 insertions, 4 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index aec3a14..5a7ed47 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -68,7 +68,7 @@ bool keys_locked = false; static void wps_state_update_ctp(const char *path); #ifdef HAVE_LCD_BITMAP -static void gui_wps_set_margine(struct gui_wps *gwps) +static void gui_wps_set_margin(struct gui_wps *gwps) { int offset = 0; struct wps_data *data = gwps->data; @@ -100,7 +100,7 @@ long gui_wps_show(void) #else FOR_NB_SCREENS(i) { - gui_wps_set_margine(&gui_wps[i]); + gui_wps_set_margin(&gui_wps[i]); } #endif @@ -229,7 +229,7 @@ long gui_wps_show(void) #ifdef HAVE_LCD_BITMAP FOR_NB_SCREENS(i) { - gui_wps_set_margine(&gui_wps[i]); + gui_wps_set_margin(&gui_wps[i]); } #endif restore = true; @@ -485,7 +485,7 @@ long gui_wps_show(void) #ifdef HAVE_LCD_BITMAP FOR_NB_SCREENS(i) { - gui_wps_set_margine(&gui_wps[i]); + gui_wps_set_margin(&gui_wps[i]); } #endif restore = true; @@ -511,6 +511,12 @@ long gui_wps_show(void) #endif if (quick_screen_quick(button)) return SYS_USB_CONNECTED; +#ifdef HAVE_LCD_BITMAP + FOR_NB_SCREENS(i) + { + gui_wps_set_margin(&gui_wps[i]); + } +#endif restore = true; lastbutton = 0; break; diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index a036e88..ecf4962 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c @@ -160,6 +160,7 @@ bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter) * then release the enter button*/ bool can_quit=false; gui_syncquickscreen_draw(qs); + gui_syncstatusbar_draw(&statusbars, true); while (true) { raw_key = button_get(true); button=uncombine_button(raw_key, button_enter); |