diff options
author | Kostas Nakos | 2007-05-01 14:02:52 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-05-01 14:02:52 +0000 |
commit | 8aed6861f9d6f0f2177e6bb6be24d2497c46984e (patch) | |
tree | 5563e7531cb6a3ce6f42acc576b224709a92f2cb /backends | |
parent | 3da772c5b814123ec9c62ffdd31b8dcc808d089b (diff) | |
download | scummvm-rg350-8aed6861f9d6f0f2177e6bb6be24d2497c46984e.tar.gz scummvm-rg350-8aed6861f9d6f0f2177e6bb6be24d2497c46984e.tar.bz2 scummvm-rg350-8aed6861f9d6f0f2177e6bb6be24d2497c46984e.zip |
fix toolbar redraw for hires games in qvga landscape phones
svn-id: r26714
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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(); } |