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/button/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/modules/gwin/button/main.c') diff --git a/demos/modules/gwin/button/main.c b/demos/modules/gwin/button/main.c index 1d8aa2e6..29a5641f 100644 --- a/demos/modules/gwin/button/main.c +++ b/demos/modules/gwin/button/main.c @@ -65,7 +65,7 @@ int main(void) { // Set the widget defaults gwinSetDefaultFont(gdispOpenFont("UI2")); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); - gdispClear(White); + gdispClear(GFX_WHITE); // create the widget createWidgets(); @@ -89,7 +89,7 @@ int main(void) { // GWIN windows. In this case however we know that the button is in the top-left // corner which should translate safely into any orientation. gdispSetOrientation(orients[which]); - gdispClear(White); + gdispClear(GFX_WHITE); gwinRedrawDisplay(GDISP, FALSE); } break; -- cgit v1.2.3