From 5ed2b85c847995da3f4dc01c4d2790358adeb03d Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 5 Mar 2008 06:54:30 +0000 Subject: 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 --- Panel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Panel.h') 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_ { -- cgit v1.2.3