mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-28 20:43: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 {
|
union {
|
||||||
/* JWIDGET_KEY events */
|
/* JWIDGET_KEY events */
|
||||||
key_event_t key;
|
key_event_t key;
|
||||||
|
/* Custom generic value */
|
||||||
|
int data;
|
||||||
};
|
};
|
||||||
|
|
||||||
} jevent;
|
} jevent;
|
||||||
|
|
|
@ -60,7 +60,7 @@ typedef struct {
|
||||||
|
|
||||||
} jfileselect;
|
} jfileselect;
|
||||||
|
|
||||||
/* Type IDs */
|
/* Event IDs */
|
||||||
extern uint16_t JFILESELECT_LOADED;
|
extern uint16_t JFILESELECT_LOADED;
|
||||||
extern uint16_t JFILESELECT_VALIDATED;
|
extern uint16_t JFILESELECT_VALIDATED;
|
||||||
extern uint16_t JFILESELECT_CANCELED;
|
extern uint16_t JFILESELECT_CANCELED;
|
||||||
|
|
Loading…
Reference in a new issue