aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/gwin.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-06-06 16:48:30 +1000
committerinmarket <andrewh@inmarket.com.au>2013-06-06 16:48:30 +1000
commit663caba66214acdb6170903f6a203740ea1de8b9 (patch)
treec6e69819bda8766d4d19ec2c9bc449a66b7ac11b /include/gwin/gwin.h
parent1db77bda85aabd64eb78edf34e9b4b77e1e7324d (diff)
downloaduGFX-663caba66214acdb6170903f6a203740ea1de8b9.tar.gz
uGFX-663caba66214acdb6170903f6a203740ea1de8b9.tar.bz2
uGFX-663caba66214acdb6170903f6a203740ea1de8b9.zip
GWIN fixes
Diffstat (limited to 'include/gwin/gwin.h')
-rw-r--r--include/gwin/gwin.h16
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
*