diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-01-23 17:57:13 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-01-23 17:57:13 +1000 |
commit | b316263833c95cf2b8cf14fe890321d5880aa81c (patch) | |
tree | 45ed1a3919a4bf05d4de4786aba476bd6a25aec8 /src/gwin/gwin_checkbox.h | |
parent | fa8167b94d13e94a6cb953e7f549a89f155f77c6 (diff) | |
download | uGFX-b316263833c95cf2b8cf14fe890321d5880aa81c.tar.gz uGFX-b316263833c95cf2b8cf14fe890321d5880aa81c.tar.bz2 uGFX-b316263833c95cf2b8cf14fe890321d5880aa81c.zip |
Implement a "Toggle Button" using a checkbox with a custom draw.
Updated the widgets demo to show this.
Diffstat (limited to 'src/gwin/gwin_checkbox.h')
-rw-r--r-- | src/gwin/gwin_checkbox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gwin/gwin_checkbox.h b/src/gwin/gwin_checkbox.h index 3a67d487..f0a8e9f0 100644 --- a/src/gwin/gwin_checkbox.h +++ b/src/gwin/gwin_checkbox.h @@ -116,6 +116,7 @@ bool_t gwinCheckboxIsChecked(GHandle gh); */ void gwinCheckboxDraw_CheckOnLeft(GWidgetObject *gw, void *param); void gwinCheckboxDraw_CheckOnRight(GWidgetObject *gw, void *param); +void gwinCheckboxDraw_Button(GWidgetObject *gw, void *param); /** @} */ #ifdef __cplusplus |