aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/checkbox.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-06-03 17:36:39 +0200
committerJoel Bodenmann <joel@unormal.org>2013-06-03 17:36:39 +0200
commit9945b011a9245907b5066565b396808d3d22c363 (patch)
treeb1188b538b8db5e49ec64f958df0b23b8a44f8d9 /include/gwin/checkbox.h
parent2cd0bc13d517a1b4c1db43683c99cf5b2fd02d21 (diff)
downloaduGFX-9945b011a9245907b5066565b396808d3d22c363.tar.gz
uGFX-9945b011a9245907b5066565b396808d3d22c363.tar.bz2
uGFX-9945b011a9245907b5066565b396808d3d22c363.zip
added custom render interface for checkboxes
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