diff options
author | Max Horn | 2005-05-11 19:31:23 +0000 |
---|---|---|
committer | Max Horn | 2005-05-11 19:31:23 +0000 |
commit | cccbb52e1e5d4e972d7d2974d33034507dc772b4 (patch) | |
tree | 180ae655ab5dd4618b359b7f86c6ac1b260dbe24 /gui/about.h | |
parent | 79241d323fec0299e55bbfb420d0b4cdb4a70965 (diff) | |
download | scummvm-rg350-cccbb52e1e5d4e972d7d2974d33034507dc772b4.tar.gz scummvm-rg350-cccbb52e1e5d4e972d7d2974d33034507dc772b4.tar.bz2 scummvm-rg350-cccbb52e1e5d4e972d7d2974d33034507dc772b4.zip |
Do not autoscale about dialog, rather let it scale itself properly
svn-id: r18061
Diffstat (limited to 'gui/about.h')
-rw-r--r-- | gui/about.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/about.h b/gui/about.h index 65dbb49f40..35eb34a710 100644 --- a/gui/about.h +++ b/gui/about.h @@ -25,6 +25,10 @@ #include "common/str.h" #include "graphics/surface.h" +namespace Graphics { + class Font; +} + namespace GUI { class AboutDialog : public Dialog { @@ -37,6 +41,7 @@ protected: byte _modifiers; bool _willClose; Graphics::Surface _canvas; + const Graphics::Font *_font; public: AboutDialog(); @@ -49,6 +54,9 @@ public: void handleMouseUp(int x, int y, int button, int clickCount); void handleKeyDown(uint16 ascii, int keycode, int modifiers); void handleKeyUp(uint16 ascii, int keycode, int modifiers); + + // disable scaling + bool wantsScaling() const { return false; } }; } // End of namespace GUI |