some more checkbox fixes
This commit is contained in:
parent
809b8ccc60
commit
446f41297d
2 changed files with 4 additions and 2 deletions
|
@ -36,8 +36,9 @@
|
|||
/*===========================================================================*/
|
||||
|
||||
typedef struct GEventGWinCheckbox_t {
|
||||
GEventType type; // The type of this event (GEVENT_GWIN_CHECKBOX)
|
||||
GHandle checkbox; // The checkbox that has been depressed (actually triggered on release)
|
||||
GEventType type; // The type of this event (GEVENT_GWIN_CHECKBOX)
|
||||
GHandle checkbox; // The checkbox that has been depressed (actually triggered on release)
|
||||
bool_t state // Is the checkbox currently checked or unchecked?
|
||||
} GEventGWinCheckbox;
|
||||
|
||||
typedef enum GCheckboxShape_e {
|
||||
|
|
|
@ -88,6 +88,7 @@ static void gwinCheckboxCallback(void *param, GEvent *pe) {
|
|||
continue;
|
||||
pbe->type = GEVENT_GWIN_CHECKBOX;
|
||||
pbe->checkbox = gh;
|
||||
pbe->state = gbw->state;
|
||||
geventSendEvent(psl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue