aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_slider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_slider.h')
-rw-r--r--src/gwin/gwin_slider.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gwin/gwin_slider.h b/src/gwin/gwin_slider.h
index c388417d..588a39e8 100644
--- a/src/gwin/gwin_slider.h
+++ b/src/gwin/gwin_slider.h
@@ -69,10 +69,6 @@ typedef struct GSliderObject {
int pos;
} GSliderObject;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* @brief Create a slider window.
* @return NULL if there is no resultant drawing area, otherwise a window handle.
@@ -143,14 +139,14 @@ void gwinSliderSetPosition(GHandle gh, int pos);
* @brief Should the slider send extended events.
*
* @param[in] gh The window handle (must be a slider window)
- * @param[in] enabled TRUE to enable extended events, FALSE to disable them
+ * @param[in] enabled gTrue to enable extended events, gFalse to disable them
*
* @note The slider by default will only send slider events with an action of GSLIDER_EVENT_SET.
* This call can be used to enable other slider action's to be sent as events
*
* @api
*/
-void gwinSliderSendExtendedEvents(GHandle gh, bool_t enabled);
+void gwinSliderSendExtendedEvents(GHandle gh, gBool enabled);
/**
* @defgroup Renderings_Slider Renderings
@@ -199,9 +195,5 @@ void gwinSliderDraw_Image(GWidgetObject *gw, void *param);
#endif /* GDISP_NEED_IMAGE */
/** @} */
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _GWIN_SLIDER_H */
/** @} */