diff eventLogger.h @ 44:a1e75b94c505

Snap to eval points. Double tap to go to preset (doesn't quite work yet). Coloured locks. Changed Question 2. Fixed some leaks.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Mon, 22 Apr 2013 18:32:34 +0100
parents b91a1859829a
children 0d3a993405e4
line wrap: on
line diff
--- a/eventLogger.h	Fri Apr 19 18:50:04 2013 +0100
+++ b/eventLogger.h	Mon Apr 22 18:32:34 2013 +0100
@@ -63,7 +63,9 @@
     EVALUATION_POINT,       // 21
     EMPTY_EVENT,            // 22
     SMOOTHING_ON,           // 23
-    SMOOTHING_OFF};          // 24
+    SMOOTHING_OFF,          // 24
+    SNAPPED_TO_EVALPT,       // 25
+    PRESET_DOUBLE_TAPPED};
 
 //---------------------------------------------------------------------------
 
@@ -175,6 +177,7 @@
     void saveSessionToFile();
     void drawTrail(const TwoVector min, const TwoVector max);
     vector<lEvent> getDrawableEventsInRange(const TwoVector min, const TwoVector max);
+    vector<lEvent *> getEvaluationPointsInRange(const TwoVector min, const TwoVector max);
     vector<TwoVector> getRecentPath(int numEvents);
     
     void clearTrail();
@@ -217,7 +220,8 @@
     
 };
 
-
+    lEvent * e;
+    
     //---------------------------------------------------------------------------