summaryrefslogtreecommitdiff
path: root/src/gui/minimap.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-14 14:24:28 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-14 14:24:28 +0000
commitd283db70abe904fddd8aefbd52b35d6e066dd98f (patch)
tree7bd24c75dd65872270a4b4a859c38020d82ba451 /src/gui/minimap.h
parentd7904f7b7e25bbdd7205e5c18e06d184b2078732 (diff)
downloadmana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.gz
mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.bz2
mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.xz
mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.zip
Added background to minimap. Only used in Tonori Desert map for now, and its
style is up for discussion.
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