diff options
| author | Tim Redfern <tim@eclectronics.org> | 2011-12-19 18:10:17 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2011-12-19 18:10:17 +0000 |
| commit | 7ed42bc033eacecf45affab4f811b1e9febb7950 (patch) | |
| tree | 7caf96345831c3fcc088c27c1e55b6679b5b7bd0 /src/keyVar.h | |
| parent | f6f57d4d831814abd1e697801688962ef3445022 (diff) | |
Diffstat (limited to 'src/keyVar.h')
| -rw-r--r-- | src/keyVar.h | 11 |
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; + + +}; |
