diff options
author | Max Horn | 2005-04-17 11:20:59 +0000 |
---|---|---|
committer | Max Horn | 2005-04-17 11:20:59 +0000 |
commit | 919af98314473eadd139b1949e353342e4b6a508 (patch) | |
tree | 958f2d5fb96c0dac590491326ebbb6b8b98430fa /gui/dialog.cpp | |
parent | 9daddf595570e536e622f1b85274e40401da66c2 (diff) | |
download | scummvm-rg350-919af98314473eadd139b1949e353342e4b6a508.tar.gz scummvm-rg350-919af98314473eadd139b1949e353342e4b6a508.tar.bz2 scummvm-rg350-919af98314473eadd139b1949e353342e4b6a508.zip |
Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scaling
svn-id: r17646
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r-- | gui/dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 7579cce519..42433ea659 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -99,6 +99,10 @@ void Dialog::draw() { g_gui._needRedraw = true; } +bool Dialog::wantsScaling() const { + return true; +} + void Dialog::drawDialog() { if (!isVisible()) |