From 8aed6861f9d6f0f2177e6bb6be24d2497c46984e Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Tue, 1 May 2007 14:02:52 +0000 Subject: fix toolbar redraw for hires games in qvga landscape phones svn-id: r26714 --- backends/platform/wince/wince-sdl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index a826ad7868..fda76eae17 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -393,7 +393,10 @@ void OSystem_WINCE3::swap_smartphone_keyboard() { _toolbarHandler.setActive(NAME_PANEL_KEYBOARD); _panelVisible = !_panelVisible; _toolbarHandler.setVisible(_panelVisible); - addDirtyRect(0, 0, 320, 40); + if (_screenHeight > 240) + addDirtyRect(0, 0, 640, 80); + else + addDirtyRect(0, 0, 320, 40); internUpdateScreen(); } -- cgit v1.2.3