Modified to work with two displays
Dependents: touch2 default CANary_9341_test CANary_merge
Fork of SPI_TFT by
Diff: TextDisplay.h
- Revision:
- 14:11d7980e7e1c
- Parent:
- 13:4ad7de7d2220
--- 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; };