aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/console/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/console/main.c')
-rw-r--r--demos/modules/gwin/console/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/modules/gwin/console/main.c b/demos/modules/gwin/console/main.c
index 0e9000b5..248aeedf 100644
--- a/demos/modules/gwin/console/main.c
+++ b/demos/modules/gwin/console/main.c
@@ -62,12 +62,12 @@ int main(void) {
gwinSetFont(GW1, font2);
/* Set the fore- and background colors for each console */
- gwinSetColor(GW1, Green);
- gwinSetBgColor(GW1, Black);
- gwinSetColor(GW2, White);
- gwinSetBgColor(GW2, Blue);
- gwinSetColor(GW3, Black);
- gwinSetBgColor(GW3, Red);
+ gwinSetColor(GW1, GFX_GREEN);
+ gwinSetBgColor(GW1, GFX_BLACK);
+ gwinSetColor(GW2, GFX_WHITE);
+ gwinSetBgColor(GW2, GFX_BLUE);
+ gwinSetColor(GW3, GFX_BLACK);
+ gwinSetBgColor(GW3, GFX_RED);
/* clear all console windows - to set background */
gwinClear(GW1);