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.
Diff: screen/EATouch.h
- Revision:
- 1:f04bcaea1d60
- Parent:
- 0:839ecbf5cb2a
- Child:
- 2:2b860e764545
--- a/screen/EATouch.h Thu Feb 11 12:21:18 2010 +0000
+++ b/screen/EATouch.h Thu Mar 04 10:54:06 2010 +0000
@@ -49,7 +49,7 @@
* @param pressed Boolean describing if a touch is detected. If pressed is false then x
* and y are undefined.
*/
- void touch(unsigned short& x, unsigned short& y, bool& pressed);
+ void touch(short& x, short& y, bool& pressed);
private:
EALCD& _lcd;
@@ -61,7 +61,7 @@
*/
unsigned int _threshold;
- void _raw(unsigned short& x, unsigned short& y, bool& pressed);
+ void _raw(short& x, short& y, bool& pressed);
/**
* Take in x and y values from touch panel and convert to pixel position.
@@ -71,15 +71,15 @@
* @param oX Output x value.
* @param oY Output y value.
*/
- void _convert( unsigned short iX,
- unsigned short iY,
- unsigned short& oX,
- unsigned short& oY);
+ void _convert( short iX,
+ short iY,
+ short& oX,
+ short& oY);
- bool _captureCalibrationPoint( unsigned short iX,
- unsigned short iY,
- unsigned short& oX,
- unsigned short& oY);
+ bool _captureCalibrationPoint( short iX,
+ short iY,
+ short& oX,
+ short& oY);
};