diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-12-31 05:59:26 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-12-31 05:59:26 +0000 |
commit | e385ee18ce501e26189d5a2a68d092104720df30 (patch) | |
tree | 5219051887835d9750d80f71d9849ceb3aa65d82 /apps/recorder/keyboard.c | |
parent | 54919ae9176bd9cbffc8412f0c831f471b8ac4d5 (diff) | |
download | rockbox-e385ee18ce501e26189d5a2a68d092104720df30.tar.gz rockbox-e385ee18ce501e26189d5a2a68d092104720df30.zip |
Decouple the statusbar drawing from the rest of the screen drawing. it is not drawn roughly 4x per second automatically.
viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.)
All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false).
This commit also includes some menu/list viewport cleanups from kugel in FS#9603
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r-- | apps/recorder/keyboard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index f72def6a8a..26413e99da 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -743,7 +743,6 @@ int kbd_input(char* text, int buflen) | |||
743 | sc->set_drawmode(DRMODE_SOLID); | 743 | sc->set_drawmode(DRMODE_SOLID); |
744 | } | 744 | } |
745 | 745 | ||
746 | gui_syncstatusbar_draw(&statusbars, true); | ||
747 | FOR_NB_SCREENS(l) | 746 | FOR_NB_SCREENS(l) |
748 | screens[l].update(); | 747 | screens[l].update(); |
749 | 748 | ||
@@ -1190,7 +1189,6 @@ int kbd_input(char* text, int buflen) | |||
1190 | #endif /* !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS) */ | 1189 | #endif /* !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS) */ |
1191 | 1190 | ||
1192 | case BUTTON_NONE: | 1191 | case BUTTON_NONE: |
1193 | gui_syncstatusbar_draw(&statusbars, false); | ||
1194 | #ifdef KBD_MORSE_INPUT | 1192 | #ifdef KBD_MORSE_INPUT |
1195 | if (morse_reading) | 1193 | if (morse_reading) |
1196 | { | 1194 | { |