diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-03-10 20:36:12 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-03-10 20:36:12 +1000 |
commit | 94f1cc2f0a4db0c6f1483e6d648068e031bcc094 (patch) | |
tree | 97f50372239108ec9e6e75a3d56e808e479cb7be /demos/tools/uGFXnetDisplay | |
parent | f265924396167729e8d9fb36a0383263f36c1270 (diff) | |
download | uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.tar.gz uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.tar.bz2 uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.zip |
Change new colors to GFX_RED instead of GFXRED. Use the new color defs
Diffstat (limited to 'demos/tools/uGFXnetDisplay')
-rw-r--r-- | demos/tools/uGFXnetDisplay/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/tools/uGFXnetDisplay/main.c b/demos/tools/uGFXnetDisplay/main.c index 69703825..6f4ad4b6 100644 --- a/demos/tools/uGFXnetDisplay/main.c +++ b/demos/tools/uGFXnetDisplay/main.c @@ -336,12 +336,12 @@ int main(proto_args) { font = gdispOpenFont("UI2"); // Open the connection - gdispDrawStringBox(0, 0, gdispGetWidth(), gdispGetHeight(), "Connecting to host...", font, White, justifyCenter); + gdispDrawStringBox(0, 0, gdispGetWidth(), gdispGetHeight(), "Connecting to host...", font, GFX_WHITE, justifyCenter); StartSockets(); netfd = doConnect(cmd_args); if (netfd == (SOCKET_TYPE)-1) gfxHalt("Could not connect to the specified server"); - gdispClear(Black); + gdispClear(GFX_BLACK); // Get the initial packet from the host if (!getpkt(cmd, 2)) goto alldone; @@ -395,7 +395,7 @@ int main(proto_args) { #if GDISP_NEED_SCROLL case GNETCODE_SCROLL: if (!getpkt(cmd, 5)) goto alldone; // cmd[] = x, y, cx, cy, lines - gdispVerticalScroll(cmd[0], cmd[1], cmd[2], cmd[3], cmd[4], Black); + gdispVerticalScroll(cmd[0], cmd[1], cmd[2], cmd[3], cmd[4], GFX_BLACK); break; #endif case GNETCODE_CONTROL: |