Modified to work with two displays

Dependents:   touch2 default CANary_9341_test CANary_merge

Fork of SPI_TFT by Peter Drescher

Files at this revision

API Documentation at this revision

Comitter:
TickTock
Date:
Mon Sep 30 15:30:54 2013 +0000
Parent:
13:4ad7de7d2220
Commit message:
.

Changed in this revision

TextDisplay.h Show annotated file Show diff for this revision Revisions of this file
--- a/TextDisplay.h	Sun Jun 30 23:04:23 2013 +0000
+++ b/TextDisplay.h	Mon Sep 30 15:30:54 2013 +0000
@@ -61,19 +61,21 @@
     virtual void background(uint16_t colour);
     // putc (from Stream)
     // printf (from Stream)
+
     
 protected:
 
     virtual int _putc(int value);
     virtual int _getc();
 
+    uint16_t _foreground;
+    uint16_t _background;
+
     // character location
     uint16_t _column;
     uint16_t _row;
 
     // colours
-    uint16_t _foreground;
-    uint16_t _background;
     char *_path;
 };