Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/listitem.h')
-rw-r--r--src/ui/listitem.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/ui/listitem.h b/src/ui/listitem.h
index a0f4d5e..c2ccf6f 100644
--- a/src/ui/listitem.h
+++ b/src/ui/listitem.h
@@ -65,14 +65,21 @@ public:
void select();
protected:
- /// keypress event handler
- virtual bool on_keypress(const int key, const unsigned int modifier);
-
- /// draw the button border
+ /**
+ * @brief mouseover event handler
+ * */
+ virtual void on_mouseover(const math::Vector2f &cursor);
+
+ /**
+ * @brief mouse button press event handler
+ * */
+ virtual bool on_mousepress(const unsigned int button);
+
+ /**
+ * @brief draw the button border
+ * */
virtual void draw_border();
- virtual void on_mouseover(const math::Vector2f &cursor);
-
virtual void draw();
private: