diff options
Diffstat (limited to 'src/client/map.h')
-rw-r--r-- | src/client/map.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/map.h b/src/client/map.h index cbdc216..c7c1c29 100644 --- a/src/client/map.h +++ b/src/client/map.h @@ -17,10 +17,21 @@ public: Map(ui::Widget *parent = 0); virtual ~Map(); + inline size_t hover() const { return map_hover; } + + /// toggle the map window void toggle(); + /// hide the map window + virtual void hide(); + + /// called when the widget receives a key press + virtual bool on_keypress(const int key, const unsigned int modifier); + protected: virtual void draw(); + + size_t map_hover; }; |