From bf89c8a4b9eb485e9248d5da3aac1d16c1310d7f Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 2 Jun 2005 12:29:01 +0000 Subject: The GUI has reached the point where I think it's safe to begin removing the old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING, _scaleFactor and _scaleEnable. Also removed drawBitmap() since we no longer use bitmaps for widget decorations. svn-id: r18310 --- gui/dialog.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gui/dialog.h') diff --git a/gui/dialog.h b/gui/dialog.h index a45f26e026..74b13cd67c 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -58,16 +58,6 @@ public: void releaseFocus(); - /** - * We can optionally scale dialogs by a factor of two. This is the - * default behaviour if the GUI is displayed on a 640x400 or bigger - * screen. However, some dialogs can cope with multiple screen sizes, - * and thus do not want automatic scaling. - * - * @return true if the dialog adjusts itself to the screen size - */ - virtual bool wantsScaling() const; - protected: virtual void open(); virtual void close(); -- cgit v1.2.3