aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/ArduinoTinyScreen
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-03-10 20:36:12 +1000
committerinmarket <andrewh@inmarket.com.au>2018-03-10 20:36:12 +1000
commit94f1cc2f0a4db0c6f1483e6d648068e031bcc094 (patch)
tree97f50372239108ec9e6e75a3d56e808e479cb7be /boards/base/ArduinoTinyScreen
parentf265924396167729e8d9fb36a0383263f36c1270 (diff)
downloaduGFX-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 'boards/base/ArduinoTinyScreen')
-rw-r--r--boards/base/ArduinoTinyScreen/ugfx_test.ino8
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/ArduinoTinyScreen/ugfx_test.ino b/boards/base/ArduinoTinyScreen/ugfx_test.ino
index 25bbcdef..456dd1fc 100644
--- a/boards/base/ArduinoTinyScreen/ugfx_test.ino
+++ b/boards/base/ArduinoTinyScreen/ugfx_test.ino
@@ -17,12 +17,12 @@ void setup() {
height = gdispGetHeight();
// Code Here
- gdispDrawBox(10, 10, width / 2, height / 2, Yellow);
- gdispFillArea(width / 2, height / 2, width / 2 - 10, height / 2 - 10, Blue);
- gdispDrawLine(5, 30, width - 50, height - 40, Red);
+ gdispDrawBox(10, 10, width / 2, height / 2, GFX_YELLOW);
+ gdispFillArea(width / 2, height / 2, width / 2 - 10, height / 2 - 10, GFX_BLUE);
+ gdispDrawLine(5, 30, width - 50, height - 40, GFX_RED);
for (i = 5, j = 0; i < width && j < height; i += 7, j += i / 20)
- gdispDrawPixel(i, j, White);
+ gdispDrawPixel(i, j, GFX_WHITE);
#endif
}