aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gwin/list.h')
-rw-r--r--include/gwin/list.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gwin/list.h b/include/gwin/list.h
index ba83f24b..d28206d9 100644
--- a/include/gwin/list.h
+++ b/include/gwin/list.h
@@ -45,6 +45,12 @@ typedef struct GEventGWinList {
// A list window
typedef struct GListObject {
GWidgetObject w;
+
+ #if GINPUT_NEED_TOGGLE
+ uint16_t t_up;
+ uint16_t t_dn;
+ #endif
+
int cnt; // Number of items currently in the list (quicker than counting each time)
gfxQueueASync list_head; // The list of items
} GListObject;