summaryrefslogtreecommitdiff
path: root/apps/recorder/keyboard.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-11-04 12:36:55 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-11-04 12:36:55 +0000
commit6afd0a7a083fa470c62cc2189f30ae4c63c534f7 (patch)
treeed92d2809c84ab5838dd50ab300e67e979854fd1 /apps/recorder/keyboard.c
parentc70a750a0d0967efb651cf4a31b7fd46741a0db5 (diff)
Now the keyboard entry screen updates the status bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4012 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r--apps/recorder/keyboard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index d8b3f40a45..9edf24694d 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -25,6 +25,7 @@
#include <string.h>
#include "font.h"
#include "screens.h"
+#include "status.h"
#define KEYBOARD_LINES 4
#define KEYBOARD_PAGES 3
@@ -175,7 +176,7 @@ int kbd_input(char* text, int buflen)
lcd_invertrect(font_w * x, font_h * y, font_w, font_h);
lcd_update();
- switch ( button_get(true) ) {
+ switch ( button_get_w_tmo(HZ/2) ) {
case BUTTON_OFF:
/* abort */
@@ -283,6 +284,10 @@ int kbd_input(char* text, int buflen)
usb_screen();
lcd_setfont(FONT_SYSFIXED);
break;
+
+ case BUTTON_NONE:
+ status_draw(false);
+ break;
}
}
lcd_setfont(FONT_UI);