diff options
Diffstat (limited to 'Menu.hpp')
-rw-r--r-- | Menu.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,13 +4,16 @@ class Menu { private: - static const int _ybegin = CFG_DHEIGHT - 32; + static const int _ybegin = CFG_DHEIGHT - 24; static const int _yend = CFG_DHEIGHT; static const int _entries = 3; static const int _wentry = CFG_DWIDTH / _entries; + bool _was_down; int _hovered; + int _selected; public: Menu(); void update(const Cursor& cursor); void draw() const; + int get_selection() const; }; |