diff options
Diffstat (limited to 'include/gwin')
-rw-r--r-- | include/gwin/checkbox.h | 11 |
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 |