Driver Library for our displays

Dependents:   dm_bubbles dm_calc dm_paint dm_sdcard_with_adapter ... more

Revision:
11:264e19992620
Parent:
2:59be7fca4581
--- a/DmTftBase.h	Wed Jul 09 08:31:34 2014 +0000
+++ b/DmTftBase.h	Wed Jan 21 13:56:51 2015 +0000
@@ -39,6 +39,8 @@
 
   uint16_t width() { return _width; }
   uint16_t height() { return _height; }
+  void setWidth(uint16_t width) {  _width = width; }
+  void setHeight(uint16_t height) {  _height = height; }
 
   void setTextColor(uint16_t background, uint16_t foreground) { _bgColor = background; _fgColor = foreground; }
 
@@ -83,15 +85,10 @@
 #endif
 
 private:
-  const uint16_t _width;
-  const uint16_t _height;
+  uint16_t _width;
+  uint16_t _height;
 
   uint16_t _bgColor;
   uint16_t _fgColor;
 };
-#endif
-
-
-
-
-
+#endif
\ No newline at end of file