1
0
Fork 0
forked from len0rd/rockbox

Now the keyboard entry screen updates the status bar

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4012 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-11-04 12:36:55 +00:00
parent c70a750a0d
commit 6afd0a7a08

View file

@ -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);