summaryrefslogtreecommitdiff
path: root/src/gui/minimap.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-09 13:22:30 -0700
committerIra Rice <irarice@gmail.com>2009-01-09 13:22:30 -0700
commita9716272cd2b5720a88f3d6904ec0f156177266d (patch)
tree5f8d1cfa38008548ba42bcb2989bc61befc4c340 /src/gui/minimap.h
parent4cddba3b2a759d2d794809a6b7cc3e46ca88d9dd (diff)
downloadmana-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.h6
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;