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
This commit is contained in:
Hisham Muhammad
2008-03-05 06:54:30 +00:00
parent 062433fe04
commit 5ed2b85c84
3 changed files with 36 additions and 23 deletions

View File

@ -33,6 +33,8 @@ typedef enum HandlerResult_ {
BREAK_LOOP
} HandlerResult;
#define EVENT_SETSELECTED -1
typedef HandlerResult(*Panel_EventHandler)(Panel*, int);
struct Panel_ {