Richard Parker / EALCD
Revision:
2:2b860e764545
Parent:
1:f04bcaea1d60
--- a/screen/EATouch.h	Thu Mar 04 10:54:06 2010 +0000
+++ b/screen/EATouch.h	Sun Mar 28 20:15:15 2010 +0000
@@ -50,19 +50,23 @@
      *                    and y are undefined.
      */
     void touch(short& x, short& y, bool& pressed);
+    
+    bool save();
+    
+    bool load();
        
 private:
     EALCD& _lcd;
     
     EATouch::matrix _cal_matrix;
     
+    void _raw(short& x, short& y, bool& pressed);
+
     /**
      * Value to hold the threshold which is used to decided if pressed or not.
      */
     unsigned int _threshold;
-
-    void _raw(short& x, short& y, bool& pressed);
-    
+   
     /**
      * Take in x and y values from touch panel and convert to pixel position.
      * Uses the calibration values taht are set using the calibrate() function.