added gwinGetColor() and gwinGetBgColor()

ugfx_release_2.6
Joel Bodenmann 2014-01-06 22:06:36 +01:00
parent 192335ea35
commit ac98de6b69
1 changed files with 18 additions and 0 deletions

View File

@ -275,6 +275,24 @@ extern "C" {
*/
#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
*