summaryrefslogtreecommitdiff
path: root/src/keyVar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyVar.h')
-rw-r--r--src/keyVar.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/keyVar.h b/src/keyVar.h
index 2717011..2187611 100644
--- a/src/keyVar.h
+++ b/src/keyVar.h
@@ -10,13 +10,14 @@
#include "ofMain.h"
class keyVar{
-
+
public:
void set(char _keyInc,char _keyDec,float _val,float _speed,float _accel,float accelTime);
void keyPressed(char _key);
void keyReleased(char _key);
float getVal();
-
+ float getInc();
+
private:
char keyInc,keyDec;
long timePressed;
@@ -24,6 +25,8 @@ private:
int state; //up-down-off
float val;
float speed;
- float accel;
float accelTime;
-}; \ No newline at end of file
+ float accel;
+
+
+};