diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-07-06 01:45:24 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-07-06 01:45:24 +1000 |
commit | ab44f32859ac61072a561869787089e13adaf509 (patch) | |
tree | 4a3e03305b94638d90dff64127abc6c9a1c7c4df /include/gwin/checkbox.h | |
parent | f3f9b7dc015b5afc82fba6682e780dcc72f9241d (diff) | |
download | uGFX-ab44f32859ac61072a561869787089e13adaf509.tar.gz uGFX-ab44f32859ac61072a561869787089e13adaf509.tar.bz2 uGFX-ab44f32859ac61072a561869787089e13adaf509.zip |
Remove widget structure members when they are not needed for input tracking
Also doco update for Enabled Flag
Diffstat (limited to 'include/gwin/checkbox.h')
-rw-r--r-- | include/gwin/checkbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gwin/checkbox.h b/include/gwin/checkbox.h index 2823007a..679a5d9c 100644 --- a/include/gwin/checkbox.h +++ b/include/gwin/checkbox.h @@ -50,7 +50,9 @@ typedef struct GCheckboxColors { /* A Checkbox window */ typedef struct GCheckboxObject_t { GWidgetObject w; - uint16_t toggle; + #if GINPUT_NEED_TOGGLE + uint16_t toggle; + #endif GCheckboxColors c; } GCheckboxObject; |