diff options
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r-- | src/gui/minimap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h index 7897ebdb..b6dbc322 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -57,6 +57,11 @@ class Minimap : public Window void setProportion(float proportion) { mProportion = proportion; } /** + * Toggles the displaying of the minimap. + */ + void toggle(); + + /** * Draws the minimap. */ void draw(gcn::Graphics *graphics); @@ -64,6 +69,7 @@ class Minimap : public Window private: Image *mMapImage; float mProportion; + static bool mShow; }; extern Minimap *minimap; |