aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-08-08 14:04:49 +0200
committerJoel Bodenmann <joel@unormal.org>2014-08-08 14:04:49 +0200
commit052a8e033c345e9b6a9449023aaeb3a2f0f72086 (patch)
treefd7605933db0041289c3cb475f45576de09c2af2 /demos
parent14f372bef8db5d919a35d8b8db48583ca1aeb8ce (diff)
downloaduGFX-052a8e033c345e9b6a9449023aaeb3a2f0f72086.tar.gz
uGFX-052a8e033c345e9b6a9449023aaeb3a2f0f72086.tar.bz2
uGFX-052a8e033c345e9b6a9449023aaeb3a2f0f72086.zip
Fixing color in gwin widgets demo
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/gwin/widgets/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index 641625e6..783ed548 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -194,7 +194,7 @@ static void createWidgets(void) {
wi.g.width = ScrWidth/2 - 2*border;
ghConsole = gwinConsoleCreate(0, &wi.g);
gwinSetColor(ghConsole, Black);
- gwinSetBgColor(ghConsole, 0xF0F0F0);
+ gwinSetBgColor(ghConsole, HTML2COLOR(0xF0F0F0));
// Buttons
wi.g.parent = ghPgButtons;