From c7f2c6e94337daec427caa7937f80c26aa1ec4cd Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Fri, 23 Jan 2009 21:07:53 +0000 Subject: [PATCH] ... and drawing of the string. All done --- Src/VirtualKeyboard.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Src/VirtualKeyboard.cpp b/Src/VirtualKeyboard.cpp index 1ddfd07..59c7262 100644 --- a/Src/VirtualKeyboard.cpp +++ b/Src/VirtualKeyboard.cpp @@ -247,6 +247,12 @@ const char *VirtualKeyboard::get_string() cnt++; if (cnt >= sizeof(this->buf)) return this->buf; + + /* SDL_Flip is done in get_key_internal() */ + SDL_FillRect(this->screen, 0, SDL_MapRGB(screen->format, 0x00, 0x80, 0x80)); + menu_print_font(this->screen, this->font, 255, 255, 0, + 40, screen->h - 50, + this->buf); } /* Not reachable */