From bd573fbef19fd1a9e28c95e248d1279ad706ae75 Mon Sep 17 00:00:00 2001 From: Kumar Abhishek Date: Tue, 12 Jun 2012 18:06:06 +0530 Subject: Changes in the Text Rendering API The code now uses my API Pls contact for further documentation --- touchpad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'touchpad.c') diff --git a/touchpad.c b/touchpad.c index 1a5accd6..d98961d2 100644 --- a/touchpad.c +++ b/touchpad.c @@ -122,7 +122,8 @@ void tpCalibrate(void) { lcdSetOrientation(portrait); lcdClear(Red); - lcdDrawString(40, 10, "Touchpad Calibration", White, Red); + cx=40; cy=10; + lcdDrawString("Touchpad Calibration"); for(i=0; i<2; i++) { tpDrawCross(cross[i][0], cross[i][1]); -- cgit v1.2.3 From 2f157e29de212b0b21523cf5338369e51782870a Mon Sep 17 00:00:00 2001 From: Kumar Abhishek Date: Wed, 13 Jun 2012 19:14:38 +0530 Subject: Restored prev implementation of lcdDrawString() Support for transparent/non-transparent text rendering via lcdEnableTransparentText(). It is disabled by default. --- touchpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'touchpad.c') diff --git a/touchpad.c b/touchpad.c index d98961d2..a419a3c9 100644 --- a/touchpad.c +++ b/touchpad.c @@ -123,7 +123,7 @@ void tpCalibrate(void) { lcdSetOrientation(portrait); lcdClear(Red); cx=40; cy=10; - lcdDrawString("Touchpad Calibration"); + lcdDrawString(40, 10, "Touchpad Calibration", White, Red); for(i=0; i<2; i++) { tpDrawCross(cross[i][0], cross[i][1]); -- cgit v1.2.3