aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/gwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gwin/gwidget.h')
-rw-r--r--include/gwin/gwidget.h39
1 files changed, 2 insertions, 37 deletions
diff --git a/include/gwin/gwidget.h b/include/gwin/gwidget.h
index 40124a43..21cfd4ac 100644
--- a/include/gwin/gwidget.h
+++ b/include/gwin/gwidget.h
@@ -74,7 +74,7 @@ extern "C" {
* @param[in] gh The widget handle
* @param[in] enabled Enable or disable the widget
*
- * @note The widget is not automatically redrawn. Call @p gwinDraw() to redraw the widget.
+ * @note The widget is automatically redrawn.
* @note Non-widgets will ignore this call.
*
* @api
@@ -82,48 +82,13 @@ extern "C" {
void gwinSetEnabled(GHandle gh, bool_t enabled);
/**
- * @brief Enable a widget
- *
- * @param[in] gh The widget handle
- *
- * @note The widget is not automatically redrawn. Call @p gwinDraw() to redraw the widget.
- * @note Non-widgets will ignore this call.
- *
- * @api
- */
-#define gwinEnable(gh) gwinSetEnabled(gh, TRUE)
-
-/**
- * @brief Disable a widget
- *
- * @param[in] gh The widget handle
- *
- * @note The widget is not automatically redrawn. Call @p gwinDraw() to redraw the widget.
- * @note Non-widgets will ignore this call.
- *
- * @api
- */
-#define gwinDisable(gh) gwinSetEnabled(gh, FALSE)
-
-/**
- * @brief Redraw the widget
- *
- * @param[in] gh The widget handle
- *
- * @note Non-widgets will ignore this call.
- *
- * @api
- */
-void gwinDraw(GHandle gh);
-
-/**
* @brief Set the text of a widget.
*
* @param[in] gh The widget handle
* @param[in] txt The text to set. This must be a constant string unless useAlloc is set.
* @param[in] useAlloc If TRUE the string specified will be copied into dynamically allocated memory.
*
- * @note The widget is not automatically redrawn. Call @p gwinDraw() to redraw the widget.
+ * @note The widget is automatically redrawn
* @note Non-widgets will ignore this call.
*
* @api