aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_checkbox.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-01-23 17:57:13 +1000
committerinmarket <andrewh@inmarket.com.au>2015-01-23 17:57:13 +1000
commitb316263833c95cf2b8cf14fe890321d5880aa81c (patch)
tree45ed1a3919a4bf05d4de4786aba476bd6a25aec8 /src/gwin/gwin_checkbox.h
parentfa8167b94d13e94a6cb953e7f549a89f155f77c6 (diff)
downloaduGFX-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.h1
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