aboutsummaryrefslogtreecommitdiff
path: root/gui/console.h
diff options
context:
space:
mode:
authorMax Horn2005-04-17 11:20:59 +0000
committerMax Horn2005-04-17 11:20:59 +0000
commit919af98314473eadd139b1949e353342e4b6a508 (patch)
tree958f2d5fb96c0dac590491326ebbb6b8b98430fa /gui/console.h
parent9daddf595570e536e622f1b85274e40401da66c2 (diff)
downloadscummvm-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/console.h')
-rw-r--r--gui/console.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/console.h b/gui/console.h
index c094c1c1c7..af68a82355 100644
--- a/gui/console.h
+++ b/gui/console.h
@@ -115,6 +115,9 @@ public:
_completionCallbackRefCon = refCon;
}
+ // disable scaling
+ bool wantsScaling() const { return false; }
+
protected:
inline char &buffer(int idx) {
return _buffer[idx % kBufferSize];