diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 22:45:15 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 22:45:15 +0300 |
commit | a364d9456dfdfd8181904fca6308e9c36eefd10a (patch) | |
tree | f355ded227cf52053784b991f5d8441a5502e447 /src/ui/listwidget.h | |
parent | 52a1652536e4e27751ac121009f85113e72afe7d (diff) |
LookupWidget: Keyboard focus and cursor
Diffstat (limited to 'src/ui/listwidget.h')
-rw-r--r-- | src/ui/listwidget.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/listwidget.h b/src/ui/listwidget.h index c8a07f51..72b7dba4 100644 --- a/src/ui/listwidget.h +++ b/src/ui/listwidget.h | |||
@@ -49,6 +49,7 @@ iDeclareObjectConstruction(ListWidget) | |||
49 | void setItemHeight_ListWidget(iListWidget *, int itemHeight); | 49 | void setItemHeight_ListWidget(iListWidget *, int itemHeight); |
50 | 50 | ||
51 | void invalidate_ListWidget (iListWidget *); | 51 | void invalidate_ListWidget (iListWidget *); |
52 | void invalidateItem_ListWidget(iListWidget *, size_t index); | ||
52 | void clear_ListWidget (iListWidget *); | 53 | void clear_ListWidget (iListWidget *); |
53 | void addItem_ListWidget (iListWidget *, iAnyObject *item); | 54 | void addItem_ListWidget (iListWidget *, iAnyObject *item); |
54 | 55 | ||
@@ -62,9 +63,12 @@ void scrollOffset_ListWidget (iListWidget *, int offset); | |||
62 | void updateVisible_ListWidget (iListWidget *); | 63 | void updateVisible_ListWidget (iListWidget *); |
63 | void updateMouseHover_ListWidget (iListWidget *); | 64 | void updateMouseHover_ListWidget (iListWidget *); |
64 | 65 | ||
66 | iAnyObject *item_ListWidget (iListWidget *, size_t index); | ||
67 | iAnyObject *hoverItem_ListWidget (iListWidget *); | ||
68 | |||
65 | size_t numItems_ListWidget (const iListWidget *); | 69 | size_t numItems_ListWidget (const iListWidget *); |
66 | size_t itemIndex_ListWidget(const iListWidget *, iInt2 pos); | 70 | size_t itemIndex_ListWidget(const iListWidget *, iInt2 pos); |
67 | const iAnyObject *constHoverItem_ListWidget(const iListWidget *); | 71 | const iAnyObject *constItem_ListWidget (const iListWidget *, size_t index); |
68 | iAnyObject *hoverItem_ListWidget(iListWidget *); | 72 | const iAnyObject *constHoverItem_ListWidget (const iListWidget *); |
69 | 73 | ||
70 | iBool isMouseDown_ListWidget (const iListWidget *); | 74 | iBool isMouseDown_ListWidget (const iListWidget *); |