aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-07-28 23:18:59 +0200
committerJoel Bodenmann <joel@unormal.org>2013-07-28 23:18:59 +0200
commit31f355460248b2d39969590feefc9482e53c451f (patch)
tree04ccb15766a62a3616a04a7de947bc5c73a821b6 /include
parent632566e243e1fa914dfee6ec87913d940856963c (diff)
downloaduGFX-31f355460248b2d39969590feefc9482e53c451f.tar.gz
uGFX-31f355460248b2d39969590feefc9482e53c451f.tar.bz2
uGFX-31f355460248b2d39969590feefc9482e53c451f.zip
list update
Diffstat (limited to 'include')
-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;