summaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-01-21 23:27:31 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-01-21 23:27:31 -0200
commit3383d8e5561dfc6fb2b65e0a194df94ccb5e08af (patch)
treedafba704561386b31b6b8af6dafb5b9a2ba7453c /Panel.h
parent36b78328843d0dae0d0fadbd0e814a8a1546327c (diff)
Sorry about the mega-patch.
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Panel.h b/Panel.h
index 91c0a40c..717f6dde 100644
--- a/Panel.h
+++ b/Panel.h
@@ -17,9 +17,11 @@ in the source distribution for its full text.
typedef struct Panel_ Panel;
typedef enum HandlerResult_ {
- HANDLED,
- IGNORED,
- BREAK_LOOP
+ HANDLED = 0x00,
+ IGNORED = 0x01,
+ BREAK_LOOP = 0x02,
+ REFRESH = 0x04,
+ RECALCULATE = 0x08,
} HandlerResult;
#define EVENT_SETSELECTED -1
@@ -43,7 +45,7 @@ struct Panel_ {
Vector* items;
int selected;
int oldSelected;
- char* eventHandlerBuffer;
+ void* eventHandlerState;
int scrollV;
short scrollH;
bool needsRedraw;

© 2014-2024 Faster IT GmbH | imprint | privacy policy