summaryrefslogtreecommitdiff
path: root/liveengine/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-08-09 20:14:02 +0100
committerTim Redfern <tim@eclectronics.org>2012-08-09 20:14:02 +0100
commitb3548f90171f0be1ebfd7020f38f3d0acec65f8b (patch)
tree76698256f9cf4edb797f7996e36edc8e4bf92f83 /liveengine/src/testApp.h
initial commit
Diffstat (limited to 'liveengine/src/testApp.h')
-rwxr-xr-xliveengine/src/testApp.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/liveengine/src/testApp.h b/liveengine/src/testApp.h
new file mode 100755
index 0000000..9b07764
--- /dev/null
+++ b/liveengine/src/testApp.h
@@ -0,0 +1,37 @@
+#pragma once
+
+#include "ofMain.h"
+#include "ofxXmlSettings.h"
+
+#define OF_ADDON_USING_OFXMIDIIN
+
+#include "ofxMidi.h"
+
+class testApp : public ofBaseApp, public ofxMidiListener{
+
+ public:
+
+ void setup();
+ void update();
+ void draw();
+
+ 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);
+ void dragEvent(ofDragInfo dragInfo);
+ void gotMessage(ofMessage msg);
+
+ void toggleFPS();
+ bool showFPS;
+
+ ofxXmlSettings XML;
+
+ int midiChannel;
+ ofxMidiIn midiIn;
+ void newMidiMessage(ofxMidiEventArgs& eventArgs);
+};
+