summaryrefslogtreecommitdiff
path: root/Menu.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Menu.hpp')
-rw-r--r--Menu.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Menu.hpp b/Menu.hpp
index 957d6c4..47cd533 100644
--- a/Menu.hpp
+++ b/Menu.hpp
@@ -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;
};