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: multiwindow.h
- Revision:
- 2:5ac5bab7daaf
- Parent:
- 1:65f72ed914fa
--- a/multiwindow.h Tue Nov 16 20:49:18 2010 +0000
+++ b/multiwindow.h Sat Nov 27 22:54:13 2010 +0000
@@ -44,16 +44,19 @@
/**
* writes text to the parent window which contains the given line
*/
- 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;
+ int _columns;
+ int _rows;
};
#endif
