summaryrefslogtreecommitdiff
path: root/nextus/src/ofApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2023-04-16 21:16:08 +0100
committerTim Redfern <tim@getdrop.com>2023-04-16 21:16:08 +0100
commitf140c2822b7b3798d86798f8b300f9a0d133259f (patch)
tree448fb58b3ce0a944395e933d155c4a3c1b5469f1 /nextus/src/ofApp.h
parentf0db80db36ba375aca859f318c92c4312505044a (diff)
add nextus show
Diffstat (limited to 'nextus/src/ofApp.h')
-rw-r--r--nextus/src/ofApp.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/nextus/src/ofApp.h b/nextus/src/ofApp.h
new file mode 100644
index 0000000..54fab67
--- /dev/null
+++ b/nextus/src/ofApp.h
@@ -0,0 +1,45 @@
+#pragma once
+
+#include "ofMain.h"
+
+
+#include "ofxGui.h"
+#include "ofxXmlSettings.h"
+#include "ofxSVG.h"
+#include "ofxClipper.h"
+#include "ofxMidi.h"
+#include "ofxPONK.h"
+
+#include "lineTransformer.h"
+#include "lineSegmenter.h"
+
+
+
+class ofApp: public ofBaseApp, public ofxMidiListener {
+
+ public:
+ void setup();
+ void update();
+ void draw();
+ void exit();
+
+ void keyPressed(ofKeyEventArgs &keyargs);
+ void keyReleased(ofKeyEventArgs & args);
+ 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 mouseEntered(int x, int y);
+ void mouseExited(int x, int y);
+ void windowResized(int w, int h);
+ void dragEvent(ofDragInfo dragInfo);
+
+ void newMidiMessage(ofxMidiMessage& eventArgs);
+
+
+ //======================================= //saving settings
+
+ ofxXmlSettings XML;
+
+
+};