From d283db70abe904fddd8aefbd52b35d6e066dd98f Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 14 Jun 2005 14:24:28 +0000 Subject: Added background to minimap. Only used in Tonori Desert map for now, and its style is up for discussion. --- src/gui/minimap.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/gui/minimap.h') 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,17 +33,31 @@ * * \ingroup Interface */ -class Minimap : public Window { +class Minimap : public Window +{ public: /** * Constructor. */ 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 -- cgit v1.2.3-70-g09d2