diff options
author | Eugene Sandulenko | 2005-03-09 23:07:32 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-03-09 23:07:32 +0000 |
commit | 7bb53f3bf10acf3b97d635b75e50b3c51b2ff862 (patch) | |
tree | ab25d421bbffb9d1e43079b3b40b2bab0e0fd820 /backends/wince | |
parent | b72df416a64642d180e9b746484ce292d845fae4 (diff) | |
download | scummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.tar.gz scummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.tar.bz2 scummvm-rg350-7bb53f3bf10acf3b97d635b75e50b3c51b2ff862.zip |
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.
Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.
svn-id: r17055
Diffstat (limited to 'backends/wince')
-rw-r--r-- | backends/wince/wince-sdl.cpp | 4 | ||||
-rw-r--r-- | backends/wince/wince-sdl.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index 977232a649..1affda9df6 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -733,7 +733,7 @@ void OSystem_WINCE3::update_game_settings() { get_sample_rate(); } -void OSystem_WINCE3::initSize(uint w, uint h) { +void OSystem_WINCE3::initSize(uint w, uint h, int overlaySize) { if (_isSmartphone && h == 240) h = 200; // mainly for the launcher @@ -765,7 +765,7 @@ void OSystem_WINCE3::initSize(uint w, uint h) { if (w != _screenWidth || h != _screenHeight) _scalersChanged = false; - OSystem_SDL::initSize(w, h); + OSystem_SDL::initSize(w, h, overlayScale); if (_scalersChanged) { unloadGFXMode(); diff --git a/backends/wince/wince-sdl.h b/backends/wince/wince-sdl.h index 79bdff1cd5..6338b839a8 100644 --- a/backends/wince/wince-sdl.h +++ b/backends/wince/wince-sdl.h @@ -45,7 +45,7 @@ public: // Update the dirty areas of the screen void internUpdateScreen(); - void initSize(uint w, uint h); + void initSize(uint w, uint h, int overlaySize); // Overloaded from SDL_Common (toolbar handling) bool pollEvent(Event &event); |