diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-02 00:51:58 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-02 00:51:58 +0200 |
commit | 9654a6554c9a42e13f641f8f52e04246d96882b8 (patch) | |
tree | 9bf6cbf82b3e1e074071dbc55d5c7ad540ced79b /src/gui/minimap.h | |
parent | a61c57070aa618ac749e4a90a2b83c0e3a15e5fd (diff) | |
download | mana-9654a6554c9a42e13f641f8f52e04246d96882b8.tar.gz mana-9654a6554c9a42e13f641f8f52e04246d96882b8.tar.bz2 mana-9654a6554c9a42e13f641f8f52e04246d96882b8.tar.xz mana-9654a6554c9a42e13f641f8f52e04246d96882b8.zip |
Embedded the minimap into the mini status window
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r-- | src/gui/minimap.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h index e44753e3..2cb6b5bd 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -22,13 +22,13 @@ #ifndef MINIMAP_H #define MINIMAP_H -#include "gui/widgets/window.h" +#include <guichan/widget.hpp> class Image; class Map; /** - * Minimap window. Shows a minimap image and the name of the current map. + * Shows a minimap image. * * The name of the map is defined by the map property "name". The minimap image * is defined by the map property "minimap". The path to the image should be @@ -36,7 +36,7 @@ class Map; * * \ingroup Interface */ -class Minimap : public Window +class Minimap : public gcn::Widget { public: Minimap(); @@ -48,11 +48,6 @@ class Minimap : public Window void setMap(Map *map); /** - * Toggles the displaying of the minimap. - */ - void toggle(); - - /** * Draws the minimap. */ void draw(gcn::Graphics *graphics); @@ -62,9 +57,6 @@ class Minimap : public Window Image *mMapImage; float mWidthProportion; float mHeightProportion; - static bool mShow; }; -extern Minimap *minimap; - #endif |