From 94f1cc2f0a4db0c6f1483e6d648068e031bcc094 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 10 Mar 2018 20:36:12 +1000 Subject: Change new colors to GFX_RED instead of GFXRED. Use the new color defs --- demos/modules/gwin/basic/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'demos/modules/gwin/basic') diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index fca150c9..e5b66f17 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -37,7 +37,7 @@ int main(void) { /* Initialize and clear the display */ gfxInit(); - gdispClear(White); + gdispClear(GFX_WHITE); /* Create two windows */ { @@ -51,10 +51,10 @@ int main(void) { } /* Set fore- and background colors for both windows */ - gwinSetColor(GW1, Black); - gwinSetBgColor(GW1, White); - gwinSetColor(GW2, White); - gwinSetBgColor(GW2, Blue); + gwinSetColor(GW1, GFX_BLACK); + gwinSetBgColor(GW1, GFX_WHITE); + gwinSetColor(GW2, GFX_WHITE); + gwinSetBgColor(GW2, GFX_BLUE); /* Clear both windows - to set background color */ gwinClear(GW1); -- cgit v1.2.3