Merge branch 'master' into gwin

This commit is contained in:
Joel Bodenmann 2014-01-06 22:06:40 +01:00
commit 806578fe4d

View File

@ -283,6 +283,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
* *