aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_widget.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-08-14 23:51:28 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-08-14 23:51:28 +0200
commit668b161f0eead1b9687305281eb59be0e0713bbe (patch)
tree75bcf589f03dc528ed2ff960388d940fcf3a9b0d /src/gwin/gwin_widget.h
parent755b7a45ab517a303510b728a9c54e48f9216557 (diff)
downloaduGFX-668b161f0eead1b9687305281eb59be0e0713bbe.tar.gz
uGFX-668b161f0eead1b9687305281eb59be0e0713bbe.tar.bz2
uGFX-668b161f0eead1b9687305281eb59be0e0713bbe.zip
Adding color to widget style for focused widgets
Diffstat (limited to 'src/gwin/gwin_widget.h')
-rw-r--r--src/gwin/gwin_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gwin/gwin_widget.h b/src/gwin/gwin_widget.h
index d7b88b70..4f164184 100644
--- a/src/gwin/gwin_widget.h
+++ b/src/gwin/gwin_widget.h
@@ -49,6 +49,7 @@ typedef struct GColorSet {
*/
typedef struct GWidgetStyle {
color_t background; // @< The window background color
+ color_t focus; // @< The color when a widget is focused
GColorSet enabled; // @< The colors when enabled
GColorSet disabled; // @< The colors when disabled
GColorSet pressed; // @< The colors when pressed