From 48b4c6f6baab6439c8060535e0c8205e347018b7 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 2 Jun 2013 18:59:51 +0200 Subject: member state of checkbox is now called isChecked --- include/gwin/checkbox.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/gwin/checkbox.h') diff --git a/include/gwin/checkbox.h b/include/gwin/checkbox.h index ba8f3b2f..a5f1e136 100644 --- a/include/gwin/checkbox.h +++ b/include/gwin/checkbox.h @@ -38,7 +38,7 @@ 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) - bool_t state // Is the checkbox currently checked or unchecked? + bool_t isChecked; // Is the checkbox currently checked or unchecked? } GEventGWinCheckbox; typedef enum GCheckboxShape_e { @@ -65,7 +65,7 @@ typedef struct GCheckboxObject_t { GCheckboxDrawFunction fn; GCheckboxColor *colors; - bool_t state; + bool_t isChecked; void *param; } GCheckboxObject; @@ -127,7 +127,7 @@ void gwinCheckboxSetEnabled(GHandle gh, bool_t enabled); * * @api */ -#define gwinCheckboxGetState(gh) (((GCheckboxObject *)(gh))->state) +#define gwinCheckboxGetState(gh) (((GCheckboxObject *)(gh))->isChecked) /** * @brief Get the source handle of a checkbox -- cgit v1.2.3