#include <minimap.h>
List of all members.
Detailed Description
Minimap dialog.
Definition at line 34 of file minimap.h.
|
Public Member Functions |
| Minimap () |
| Constructor.
|
| ~Minimap () |
| Destructor.
|
void | setMapImage (Image *img) |
| Sets the map image that should be displayed.
|
void | setProportion (float proportion) |
| Sets the map proportion (1 means 1 tile to one pixel, .5 means 2 tiles to 1 pixel, etc.
|
void | toggle () |
| Toggles the displaying of the minimap.
|
void | draw (gcn::Graphics *graphics) |
| Draws the minimap.
|
Private Attributes |
Image * | mMapImage |
float | mProportion |
Static Private Attributes |
static bool | mShow = true |
Constructor & Destructor Documentation
Member Function Documentation
void Minimap::setMapImage |
( |
Image * |
img |
) |
|
Sets the map image that should be displayed.
Definition at line 64 of file minimap.cpp.
void Minimap::setProportion |
( |
float |
proportion |
) |
[inline] |
Sets the map proportion (1 means 1 tile to one pixel, .5 means 2 tiles to 1 pixel, etc.
)
Definition at line 55 of file minimap.h.
Toggles the displaying of the minimap.
Definition at line 98 of file minimap.cpp.
void Minimap::draw |
( |
gcn::Graphics * |
graphics |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: