From 54e7a97044d3dcefc82c2b0ef929f0eb5b2cd76c Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 20 May 2013 09:30:42 +0100 Subject: some reorganisation --- 03_play/src/testApp.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 03_play/src/testApp.h (limited to '03_play/src/testApp.h') 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 > recs; + + ofxXmlSettings XML; + +}; + +#endif -- cgit v1.2.3