added a reset to default option on properties to the gui

This commit is contained in:
Jonathan Bosson
2017-05-19 10:50:06 -06:00
parent 202b31e7d1
commit a230fbeea4
2 changed files with 28 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ class TouchInteraction : public properties::PropertyOwner
int interpretInteraction(const std::vector<TUIO::TuioCursor>& list, const std::vector<Point>& lastProcessed);
void computeVelocities(const std::vector<TUIO::TuioCursor>& list, const std::vector<Point>& lastProcessed);
void decelerate(double dt);
void resetToDefault();
Camera* _camera;
SceneGraphNode* _focusNode = nullptr;
@@ -110,6 +111,7 @@ class TouchInteraction : public properties::PropertyOwner
properties::BoolProperty _unitTest;
properties::BoolProperty _onlyPan; // temp
properties::BoolProperty _touchActive;
properties::BoolProperty _reset;
properties::IntProperty _maxTapTime;
properties::IntProperty _deceleratesPerSecond;
properties::FloatProperty _touchScreenSize;