summaryrefslogtreecommitdiff
path: root/src/gui/minimap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r--src/gui/minimap.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h
index 8e75a78c..3710332c 100644
--- a/src/gui/minimap.h
+++ b/src/gui/minimap.h
@@ -24,6 +24,7 @@
#ifndef _TMW_MINIMAP_H
#define _TMW_MINIMAP_H
+#include "../map.h"
#include "gui.h"
#include "window.h"
@@ -32,7 +33,8 @@
*
* \ingroup Interface
*/
-class Minimap : public Window {
+class Minimap : public Window
+{
public:
/**
* Constructor.
@@ -40,9 +42,22 @@ class Minimap : public Window {
Minimap();
/**
+ * Destructor.
+ */
+ ~Minimap();
+
+ /**
+ * Sets the map that should be displayed.
+ */
+ void setMap(Map *map);
+
+ /**
* Draws the minimap.
*/
void draw(gcn::Graphics *graphics);
+
+ private:
+ Image *mMapImage;
};
#endif