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/listview.h')
-rw-r--r--src/ui/listview.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/listview.h b/src/ui/listview.h
index 81dd5a5..5a465f9 100644
--- a/src/ui/listview.h
+++ b/src/ui/listview.h
@@ -66,6 +66,13 @@ public:
*/
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();