diff options
author | Stijn Buys <ingar@osirion.org> | 2008-12-20 14:52:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-12-20 14:52:10 +0000 |
commit | 62e480c2d887aae67add7ee7aed68463be897811 (patch) | |
tree | 6021c5d45e83d1bb858d2f0b3fcfff6490a79d78 /src/client/map.h | |
parent | 11229dcfef77baab5a7a3893a7c6281fbc5f7211 (diff) |
map targetting
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; }; |