From b316263833c95cf2b8cf14fe890321d5880aa81c Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 23 Jan 2015 17:57:13 +1000 Subject: Implement a "Toggle Button" using a checkbox with a custom draw. Updated the widgets demo to show this. --- src/gwin/gwin_checkbox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gwin/gwin_checkbox.h') 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 -- cgit v1.2.3