From 446f41297d914c6e624e2095264fb67edc0b9d69 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 2 Jun 2013 18:52:42 +0200 Subject: some more checkbox fixes --- include/gwin/checkbox.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gwin/checkbox.h b/include/gwin/checkbox.h index 0289a50a..ba8f3b2f 100644 --- a/include/gwin/checkbox.h +++ b/include/gwin/checkbox.h @@ -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 { -- cgit v1.2.3