diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-06-08 02:27:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-06-08 02:27:59 +1000 |
commit | 777ec6af7c1b594f7b7a9cbaaf7ead90d8fb7e8f (patch) | |
tree | 2827629985d75e63f53b3de689d52a5080404780 /include/gwin/gwidget.h | |
parent | 663caba66214acdb6170903f6a203740ea1de8b9 (diff) | |
download | uGFX-777ec6af7c1b594f7b7a9cbaaf7ead90d8fb7e8f.tar.gz uGFX-777ec6af7c1b594f7b7a9cbaaf7ead90d8fb7e8f.tar.bz2 uGFX-777ec6af7c1b594f7b7a9cbaaf7ead90d8fb7e8f.zip |
Add a simple GWIN window manager, Change the way GWIN visibility works
Diffstat (limited to 'include/gwin/gwidget.h')
-rw-r--r-- | include/gwin/gwidget.h | 39 |
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 |