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 /gui | |
| 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 'gui')
| -rw-r--r-- | gui/newgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index c6fb6b8683..9b4529616b 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -85,7 +85,7 @@ void NewGui::updateScaleFactor() { kDefaultGUIHeight = 200 }; - _scaleFactor = MIN(_system->getWidth() / kDefaultGUIWidth, _system->getHeight() / kDefaultGUIHeight); + _scaleFactor = MIN(_system->getOverlayWidth() / kDefaultGUIWidth, _system->getOverlayHeight() / kDefaultGUIHeight); // Pick the font depending on the scale factor. if (_scaleFactor == 1) |
