From 41271d632b74f5cf47c30d3b699eb6b2786f2136 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 23 Jun 2018 13:02:07 +1000 Subject: Added new type definitions - moving towards V3.0 --- src/gwin/gwin_checkbox.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/gwin/gwin_checkbox.h') diff --git a/src/gwin/gwin_checkbox.h b/src/gwin/gwin_checkbox.h index 2fba95c1..ebab833d 100644 --- a/src/gwin/gwin_checkbox.h +++ b/src/gwin/gwin_checkbox.h @@ -42,7 +42,7 @@ typedef struct GEventGWinCheckbox { #if GWIN_WIDGET_TAGS WidgetTag tag; // The checkbox tag #endif - bool_t isChecked; // Is the checkbox currently checked or unchecked? + gBool isChecked; // Is the checkbox currently checked or unchecked? } GEventGWinCheckbox; /** @@ -61,10 +61,6 @@ typedef struct GCheckboxObject { #endif } GCheckboxObject; -#ifdef __cplusplus -extern "C" { -#endif - /** * @brief Create a checkbox window. * @return NULL if there is no resultant drawing area, otherwise a window handle. @@ -92,21 +88,21 @@ GHandle gwinGCheckboxCreate(GDisplay *g, GCheckboxObject *gb, const GWidgetInit * @brief Set the state of a checkbox * * @param[in] gh The window handle (must be a checkbox window) - * @param[in] isChecked TRUE to set the check, FALSE to uncheck. + * @param[in] isChecked gTrue to set the check, gFalse to uncheck. * * @api */ -void gwinCheckboxCheck(GHandle gh, bool_t isChecked); +void gwinCheckboxCheck(GHandle gh, gBool isChecked); /** * @brief Get the state of a checkbox - * @return TRUE if the checkbox is currently checked + * @return gTrue if the checkbox is currently checked * * @param[in] gh The window handle (must be a checkbox window) * * @api */ -bool_t gwinCheckboxIsChecked(GHandle gh); +gBool gwinCheckboxIsChecked(GHandle gh); /** * @defgroup Renderings_Checkbox Renderings @@ -156,10 +152,6 @@ void gwinCheckboxDraw_CheckOnRight(GWidgetObject *gw, void *param); void gwinCheckboxDraw_Button(GWidgetObject *gw, void *param); /** @} */ -#ifdef __cplusplus -} -#endif - #endif /* _GWIN_CHECKBOX_H */ /** @} */ -- cgit v1.2.3