diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-06-02 18:59:51 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-06-02 18:59:51 +0200 |
commit | 48b4c6f6baab6439c8060535e0c8205e347018b7 (patch) | |
tree | 093f4f61db085458a7457da9e42f01e79e0918c8 /include/gwin/checkbox.h | |
parent | 446f41297d914c6e624e2095264fb67edc0b9d69 (diff) | |
download | uGFX-48b4c6f6baab6439c8060535e0c8205e347018b7.tar.gz uGFX-48b4c6f6baab6439c8060535e0c8205e347018b7.tar.bz2 uGFX-48b4c6f6baab6439c8060535e0c8205e347018b7.zip |
member state of checkbox is now called isChecked
Diffstat (limited to 'include/gwin/checkbox.h')
-rw-r--r-- | include/gwin/checkbox.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |