diff options
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r-- | src/gui/minimap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h index 2fe1458ab..6efe8a786 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -38,7 +38,7 @@ class TextPopup; * * \ingroup Interface */ -class Minimap final : public Window +class Minimap final : public Window, public ConfigListener { public: Minimap(); @@ -70,6 +70,8 @@ class Minimap final : public Window void screenToMap(int &x, int &y); + void optionChanged(const std::string &name); + private: Image *mMapImage; float mWidthProportion; @@ -79,6 +81,7 @@ class Minimap final : public Window int mMapOriginX; int mMapOriginY; TextPopup *mTextPopup; + bool mAutoResize; }; extern Minimap *minimap; |