summaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2008-03-05 06:54:30 +0000
committerHisham Muhammad <hisham@gobolinux.org>2008-03-05 06:54:30 +0000
commit5ed2b85c847995da3f4dc01c4d2790358adeb03d (patch)
tree386a0ef517d60d82d3d0f715c057725f01bba1b8 /Panel.h
parent062433fe04ae35ddd61e476deb7c6fe924235058 (diff)
Make clicks on leftmost panel in the Setup screen change setup pages,
like the keyboard navigation does. Fixes bug reported by Tero Keinanen. https://sourceforge.net/tracker/index.php?func=detail&aid=1754735&group_id=108839&atid=651633
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Panel.h b/Panel.h
index 54e30877..c0f603a6 100644
--- a/Panel.h
+++ b/Panel.h
@@ -33,6 +33,8 @@ typedef enum HandlerResult_ {
BREAK_LOOP
} HandlerResult;
+#define EVENT_SETSELECTED -1
+
typedef HandlerResult(*Panel_EventHandler)(Panel*, int);
struct Panel_ {

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