diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-09 13:22:30 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-09 13:22:30 -0700 |
commit | a9716272cd2b5720a88f3d6904ec0f156177266d (patch) | |
tree | 5f8d1cfa38008548ba42bcb2989bc61befc4c340 /src/gui/minimap.h | |
parent | 4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd (diff) | |
download | mana-a9716272cd2b5720a88f3d6904ec0f156177266d.tar.gz mana-a9716272cd2b5720a88f3d6904ec0f156177266d.tar.bz2 mana-a9716272cd2b5720a88f3d6904ec0f156177266d.tar.xz mana-a9716272cd2b5720a88f3d6904ec0f156177266d.zip |
Fixed minimap state saving.
Signed-off-by: Ira Rice <irarice@gmail.com>
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; |