diff options
Diffstat (limited to 'src/ui/listview.h')
-rw-r--r-- | src/ui/listview.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ui/listview.h b/src/ui/listview.h index b097184..b4c00dc 100644 --- a/src/ui/listview.h +++ b/src/ui/listview.h @@ -64,22 +64,29 @@ public: * @brief sort child ListItems according to their sortkey * Sort will fail with an assert error if the ListView * contains any non-ListItem child widgets - */ + * */ void sort(); /** * @brief reverse sort child ListItems according to their sortkey * Sort will fail with an assert error if the ListView * contains any non-ListItem child widgets - */ + * */ void sort_reverse(); protected: virtual void resize(); - /// emit event handler + /** + * @brief emit event handler + * */ virtual bool on_emit(Widget *sender, const Event event, void *data); + /** + * @brief keypress event handler + * */ + virtual bool on_keypress(const int key, const unsigned int modifier); + private: float listview_scroll; |