Duncan McIntyre / UniGraphic

Dependents:   TouchScreenCalibrate TouchScreenGUIDemo

Fork of UniGraphic by GraphicsDisplay

Revision:
33:5743f9c16aa2
Parent:
27:acb2594b8aa4
Child:
34:091b954c3205
--- a/Display/LCD.cpp	Mon Mar 28 10:48:45 2016 +0000
+++ b/Display/LCD.cpp	Mon Apr 11 16:54:35 2016 +0000
@@ -39,8 +39,8 @@
     buffer16 = (unsigned short*)buffer;
     draw_mode = NORMAL;
     set_orientation(1);
-    foreground(White);
-    background(Black);
+    setForeground(White);
+    setBackground(Black);
     set_auto_up(true);
     tftID=0;
   //  cls();
@@ -63,8 +63,8 @@
     buffer16 = (unsigned short*)buffer;
     draw_mode = NORMAL;
     set_orientation(1);
-    foreground(White);
-    background(Black);
+    setForeground(White);
+    setBackground(Black);
     set_auto_up(true);
     tftID=0;
   //  cls();
@@ -88,8 +88,8 @@
     draw_mode = NORMAL;
   //  cls();
     set_orientation(1);
-    foreground(White);
-    background(Black);
+    setForeground(White);
+    setBackground(Black);
     set_auto_up(true);
     tftID=0;
   //  locate(0,0);