aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gwin/checkbox.h')
-rw-r--r--include/gwin/checkbox.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gwin/checkbox.h b/include/gwin/checkbox.h
index a5f1e136..c0d8e90f 100644
--- a/include/gwin/checkbox.h
+++ b/include/gwin/checkbox.h
@@ -105,6 +105,17 @@ void gwinCheckboxDraw(GHandle gh);
void gwinCheckboxSetEnabled(GHandle gh, bool_t enabled);
/**
+ * @brief Set the callback routine to perform a custom drawing.
+ *
+ * @param[in] gh The window handle (must be a checkbox window)
+ * @param[in] fn The function to use to draw the checkbox
+ * @param[in] param A parameter to pass to the checkbox drawing function
+ *
+ * @api
+ */
+void gwinCheckboxSetCustom(GHandle gh, GCheckboxDrawFunction fn, void *param);
+
+/**
* @brief Enable a checkbox
*
* @api