Added gwinShow() and gwinHide() macro wrappers
This commit is contained in:
parent
10917910e7
commit
6a0e79903d
2 changed files with 21 additions and 1 deletions
|
@ -37,7 +37,9 @@ FEATURE: Added gwinEnable() and gwinDisable()
|
||||||
FIX: Progressbar widget bug fix that could gwinProgressbarStop() to crash
|
FIX: Progressbar widget bug fix that could gwinProgressbarStop() to crash
|
||||||
FIX: Imagebox widget bug fix that could cause gwinImageOpenFile() to crash
|
FIX: Imagebox widget bug fix that could cause gwinImageOpenFile() to crash
|
||||||
FEATURE: GWIN containers such as "container" and "frame" which provides parent/children widget management
|
FEATURE: GWIN containers such as "container" and "frame" which provides parent/children widget management
|
||||||
FEATURE: Add gdispContrastColor()
|
FEATURE: Added gdispContrastColor()
|
||||||
|
FEATURE: Added gwinShow() and gwinHide()
|
||||||
|
|
||||||
|
|
||||||
*** Release 2.0 ***
|
*** Release 2.0 ***
|
||||||
FEATURE: GDISP Streaming API and demos.
|
FEATURE: GDISP Streaming API and demos.
|
||||||
|
|
|
@ -341,6 +341,24 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
void gwinSetVisible(GHandle gh, bool_t visible);
|
void gwinSetVisible(GHandle gh, bool_t visible);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Makes a widget become visible
|
||||||
|
*
|
||||||
|
* @param[in] gh The window handle
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define gwinShow(gh) gwinSetVisible(gh, TRUE);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Makes a widget become invisible
|
||||||
|
*
|
||||||
|
* @param[in] gh The window handle
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define gwinHide(gh) gwinSetVisible(gh, FALSE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the visibility of a window
|
* @brief Gets the visibility of a window
|
||||||
* @return TRUE if visible
|
* @return TRUE if visible
|
||||||
|
|
Loading…
Add table
Reference in a new issue