From 9945b011a9245907b5066565b396808d3d22c363 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 3 Jun 2013 17:36:39 +0200 Subject: added custom render interface for checkboxes --- include/gwin/checkbox.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/gwin/checkbox.h') 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 @@ -104,6 +104,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 * -- cgit v1.2.3