From 663caba66214acdb6170903f6a203740ea1de8b9 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 6 Jun 2013 16:48:30 +1000 Subject: GWIN fixes --- include/gwin/gwin.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/gwin') 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 @@ -127,6 +127,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 -- cgit v1.2.3