From f809b80a688b8cd0a5a8bcb578d4cce1562fff5e Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 31 Oct 2020 14:18:09 +0200 Subject: Preferences: Basic key bindings UI One can now bind keys in Preferences. The configured keys aren't yet saved, though. --- src/ui/listwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/listwidget.h') diff --git a/src/ui/listwidget.h b/src/ui/listwidget.h index da6303e9..11f1672e 100644 --- a/src/ui/listwidget.h +++ b/src/ui/listwidget.h @@ -64,6 +64,8 @@ void scrollOffset_ListWidget (iListWidget *, int offset); void updateVisible_ListWidget (iListWidget *); void updateMouseHover_ListWidget (iListWidget *); +void sort_ListWidget (iListWidget *, int (*cmp)(const iListItem **item1, const iListItem **item2)); + iAnyObject * item_ListWidget (iListWidget *, size_t index); iAnyObject * hoverItem_ListWidget (iListWidget *); -- cgit v1.2.3