Display text on LCD displays (even on multiple ones). Allow to create windows (frames) on display, and to combine them (split, add, duplicate, scroll). See http://mbed.org/users/hlipka/notebook/lcdwindow/ for more information.

Dependents:   Mbell

Revision:
2:5ac5bab7daaf
Parent:
0:ae5037e3d6e0
Child:
3:e5d5e2fe4bf6
--- a/lcd.h	Tue Nov 16 20:49:18 2010 +0000
+++ b/lcd.h	Sat Nov 27 22:54:13 2010 +0000
@@ -37,11 +37,12 @@
          * it must be called from the outside, and initializes the display.
         */
         virtual void init()=0;
-        virtual int getHeight(){return _height;};
-        virtual int getWidth(){return _width;};
+        virtual int getRows(){return _rows;};
+        virtual int getColumns(){return _columns;};
     protected:
-        const unsigned int _width, _height;
-        TextLCDBase(unsigned int width, unsigned int height):_width(width),_height(height)
+        const unsigned int _columns;
+        const unsigned int _rows;
+        TextLCDBase(unsigned int columns, unsigned int rows):_columns(columns),_rows(rows)
         {
         } 
 };