Basically i glued Peter Drescher and Simon Ford libs in a GraphicsDisplay class, then derived TFT or LCD class (which inherits Protocols class), then the most derived ones (Inits), which are per-display and are the only part needed to be adapted to diff hw.

Dependents:   testUniGraphic_150217 maze_TFT_MMA8451Q TFT_test_frdm-kl25z TFT_test_NUCLEO-F411RE ... more

Revision:
10:668cf78ff93a
Parent:
5:b222a9461d6b
Child:
22:f9a37f22b9cb
--- a/Graphics/GraphicsDisplay.h	Tue Feb 17 22:35:07 2015 +0000
+++ b/Graphics/GraphicsDisplay.h	Thu Feb 19 00:33:27 2015 +0000
@@ -69,9 +69,6 @@
     * @param color defines the color for the pixel.
     */
     virtual void pixel(int x, int y, unsigned short color) = 0;
-
-    
-        
     
     /** Set the window, which controls where items are written to the screen.
     * When something hits the window width, it wraps back to the left side