Fork of LCD-Window which works with Enhanced TextLCD from Wim

Fork of LcdWindow by Hendrik Lipka

Revision:
1:65f72ed914fa
Parent:
0:ae5037e3d6e0
Child:
2:5ac5bab7daaf
--- a/subwindow.cpp	Mon Nov 15 22:37:30 2010 +0000
+++ b/subwindow.cpp	Tue Nov 16 20:49:18 2010 +0000
@@ -25,7 +25,7 @@
 
 #include "string.h"
 
-SubWindow::SubWindow(Window* lcd, unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) {
+SubWindow::SubWindow(Window* lcd, const unsigned int offsetX, const unsigned int offsetY, const unsigned int width, const unsigned int height) {
     _lcd=lcd;
     _offsetX=offsetX;
     _offsetY=offsetY;
@@ -34,7 +34,7 @@
 
 }
 
-void SubWindow::writeText(unsigned int line, unsigned int pos, char* text) {
+void SubWindow::writeText(const unsigned int line, const unsigned int pos, const char* text) {
     if (line>_height)
         return;