diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-11 22:31:53 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-11 22:31:53 +0000 |
commit | dd939aa4d73a6328f6f3245dd3b3c9de35338f5b (patch) | |
tree | 992ae174fbd7ffa1da1cafd85ab593b7bff7397c /apps/recorder | |
parent | 1a66809ce11ba3056853bb98f39edc260e6b6db5 (diff) |
Patch #2839 by Christian Marg - Always show the buttonbar in the keyboard screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9008 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index d1756ace2c..cb982e38e6 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -259,6 +259,8 @@ int kbd_input(char* text, int buflen) int button, lastbutton = 0; #ifdef HAS_BUTTONBAR struct gui_buttonbar buttonbar; + bool buttonbar_config = global_settings.buttonbar; + global_settings.buttonbar = true; gui_buttonbar_init(&buttonbar); gui_buttonbar_set_display(&buttonbar, &(screens[SCREEN_MAIN]) ); #endif @@ -401,6 +403,9 @@ int kbd_input(char* text, int buflen) case KBD_ABORT: lcd_setfont(FONT_UI); +#ifdef HAS_BUTTONBAR + global_settings.buttonbar=buttonbar_config; +#endif return -1; break; @@ -734,6 +739,9 @@ int kbd_input(char* text, int buflen) if (button != BUTTON_NONE) lastbutton = button; } +#ifdef HAS_BUTTONBAR + global_settings.buttonbar=buttonbar_config; +#endif lcd_setfont(FONT_UI); return 0; |