27
27
/// Minimap-Control f�r Ingame
28
28
class ctrlIngameMinimap : public ctrlMinimap
30
/// Zeiger auf Minimap (die im Spiel dauerhaft!! gespeichert werden muss)
31
IngameMinimap * minimap;
32
/// Referenz auf GameWorldViewer, f�r das Gescrolle
37
ctrlIngameMinimap( Window *parent,
38
const unsigned int id,
39
const unsigned short x,
40
const unsigned short y,
41
const unsigned short width,
42
const unsigned short height,
43
const unsigned short padding_x,
44
const unsigned short padding_y,
45
IngameMinimap * minimap,
46
GameWorldViewer& gwv);
48
/// Zeichnet die MapPreview
51
bool Msg_LeftDown(const MouseCoords& mc);
52
bool Msg_MouseMove(const MouseCoords& mc);
54
/// Setzt Breite und H�he des Controls
55
void SetDisplaySize(const unsigned short width, const unsigned short height);
57
/// Die einzelnen Dinge umschalten
58
void ToggleTerritory();
30
/// Zeiger auf Minimap (die im Spiel dauerhaft!! gespeichert werden muss)
31
IngameMinimap* minimap;
32
/// Referenz auf GameWorldViewer, f�r das Gescrolle
37
ctrlIngameMinimap( Window* parent,
38
const unsigned int id,
39
const unsigned short x,
40
const unsigned short y,
41
const unsigned short width,
42
const unsigned short height,
43
const unsigned short padding_x,
44
const unsigned short padding_y,
45
IngameMinimap* minimap,
46
GameWorldViewer& gwv);
48
/// Zeichnet die MapPreview
51
bool Msg_LeftDown(const MouseCoords& mc);
52
bool Msg_MouseMove(const MouseCoords& mc);
54
/// Setzt Breite und H�he des Controls
55
void SetDisplaySize(const unsigned short width, const unsigned short height);
57
/// Die einzelnen Dinge umschalten
58
void ToggleTerritory();