From 919af98314473eadd139b1949e353342e4b6a508 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 17 Apr 2005 11:20:59 +0000 Subject: Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scaling svn-id: r17646 --- gui/dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/dialog.cpp') 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()) -- cgit v1.2.3