added gwinGetColor() and gwinGetBgColor()
This commit is contained in:
parent
192335ea35
commit
ac98de6b69
1 changed files with 18 additions and 0 deletions
|
@ -275,6 +275,24 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define gwinSetBgColor(gh, bgclr) (gh)->bgcolor = (bgclr)
|
#define gwinSetBgColor(gh, bgclr) (gh)->bgcolor = (bgclr)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Get the foreground color of a window
|
||||||
|
*
|
||||||
|
* @param[in] gh The window
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define gwinGetColor(gh) (gh)->color
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Get the background color of a window
|
||||||
|
*
|
||||||
|
* @param[in] gh The window
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define gwinGetBgColor(gh) (gh)->bgcolor
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets whether a window is visible or not
|
* @brief Sets whether a window is visible or not
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue