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:   Brew

Revision:
10:668cf78ff93a
Parent:
7:bb0383b91104
Child:
15:b9483ba842c8
diff -r 1749ae993cfe -r 668cf78ff93a Display/LCD.h
--- a/Display/LCD.h	Tue Feb 17 22:35:07 2015 +0000
+++ b/Display/LCD.h	Thu Feb 19 00:33:27 2015 +0000
@@ -148,6 +148,7 @@
     void setscrollarea (int startY, int areasize){};
     void scroll (int lines){};
     void scrollreset(){};
+    void FastWindow(bool enable){};
     
     unsigned int tftID;