diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-06-06 16:48:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-06-06 16:48:30 +1000 |
commit | 663caba66214acdb6170903f6a203740ea1de8b9 (patch) | |
tree | c6e69819bda8766d4d19ec2c9bc449a66b7ac11b /include/gwin | |
parent | 1db77bda85aabd64eb78edf34e9b4b77e1e7324d (diff) | |
download | uGFX-663caba66214acdb6170903f6a203740ea1de8b9.tar.gz uGFX-663caba66214acdb6170903f6a203740ea1de8b9.tar.bz2 uGFX-663caba66214acdb6170903f6a203740ea1de8b9.zip |
GWIN fixes
Diffstat (limited to 'include/gwin')
-rw-r--r-- | include/gwin/gwin.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index e7c164dc..7a6aba09 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -128,6 +128,22 @@ const char *gwinGetClassName(GHandle gh); #define gwinGetHeight(gh) ((gh)->height) /** + * @brief Set the default foreground color for all new GWIN windows + * + * @param[in] gh The window + * @param[in] clr The color to be set + */ +void gwinSetDefaultColor(color_t clr); + +/** + * @brief Set the default background color for all new GWIN windows + * + * @param[in] gh The window + * @param[in] bgclr The background color + */ +void gwinSetDefaultBgColor(color_t bgclr); + +/** * @brief Set foreground color * @details Set the color which will be used to draw * |