mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-28 04:23:40 +01:00
jevent: add generic integer data option in events
This commit is contained in:
parent
cfeba2695c
commit
7c0e8257f7
2 changed files with 3 additions and 1 deletions
|
@ -43,6 +43,8 @@ typedef struct {
|
|||
union {
|
||||
/* JWIDGET_KEY events */
|
||||
key_event_t key;
|
||||
/* Custom generic value */
|
||||
int data;
|
||||
};
|
||||
|
||||
} jevent;
|
||||
|
|
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
|
||||
} jfileselect;
|
||||
|
||||
/* Type IDs */
|
||||
/* Event IDs */
|
||||
extern uint16_t JFILESELECT_LOADED;
|
||||
extern uint16_t JFILESELECT_VALIDATED;
|
||||
extern uint16_t JFILESELECT_CANCELED;
|
||||
|
|
Loading…
Reference in a new issue