diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 0deae935dd..f17eb30181 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -57,6 +57,16 @@ 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(); |