summaryrefslogtreecommitdiff
path: root/03_play/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-05-20 09:30:42 +0100
committerTim Redfern <tim@herge.(none)>2013-05-20 09:30:42 +0100
commit54e7a97044d3dcefc82c2b0ef929f0eb5b2cd76c (patch)
tree2cc06a437a3f65b0ff91faded33467529b7b8aaa /03_play/src/testApp.h
parentcb7ec4965e6ec3d2142522c5c110b240f800e55d (diff)
some reorganisation
Diffstat (limited to '03_play/src/testApp.h')
-rw-r--r--03_play/src/testApp.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/03_play/src/testApp.h b/03_play/src/testApp.h
new file mode 100644
index 0000000..b0ca2c3
--- /dev/null
+++ b/03_play/src/testApp.h
@@ -0,0 +1,39 @@
+#ifndef _TEST_APP
+#define _TEST_APP
+
+#include "ofxOpenNI.h"
+#include "ofMain.h"
+#include "ofxXmlSettings.h"
+
+#define MAX_DEVICES 2
+
+class testApp : public ofBaseApp{
+
+public:
+ void setup();
+ void update();
+ void draw();
+ void exit();
+
+ void keyPressed (int key);
+ void keyReleased(int key);
+ void mouseMoved(int x, int y );
+ void mouseDragged(int x, int y, int button);
+ void mousePressed(int x, int y, int button);
+ void mouseReleased(int x, int y, int button);
+ void windowResized(int w, int h);
+
+ int numDevices;
+ ofxOpenNI openNIPlayers[MAX_DEVICES];
+
+ int playing;
+
+ ofTrueTypeFont verdana;
+
+ vector<vector<string> > recs;
+
+ ofxXmlSettings XML;
+
+};
+
+#endif