Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LcdWindow by
Diff: teewindow.h
- Revision:
- 2:5ac5bab7daaf
- Parent:
- 1:65f72ed914fa
diff -r 65f72ed914fa -r 5ac5bab7daaf teewindow.h
--- a/teewindow.h Tue Nov 16 20:49:18 2010 +0000
+++ b/teewindow.h Sat Nov 27 22:54:13 2010 +0000
@@ -43,16 +43,19 @@
/**
* writes the text to all parent windows
*/
- virtual void writeText(const unsigned int line, const unsigned int pos, const char text[]);
- virtual int getHeight(){return _height;};
- virtual int getWidth(){return _width;};
+ virtual void writeText(const unsigned int column, const unsigned int row, const char text[]);
+ virtual int getColumns(){return _columns;};
+ virtual int getRows(){return _rows;};
/**
* clears all parent windows
*/
virtual void clear();
+ virtual void character(int column, int row, int c);
+
private:
vector<Window*> _lcds;
- int _height,_width;
+ unsigned int _columns;
+ unsigned int _rows;
};
#endif
