summaryrefslogtreecommitdiff
path: root/nextus/src/ofApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'nextus/src/ofApp.h')
-rw-r--r--nextus/src/ofApp.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/nextus/src/ofApp.h b/nextus/src/ofApp.h
index 839ad36..6312cfb 100644
--- a/nextus/src/ofApp.h
+++ b/nextus/src/ofApp.h
@@ -43,6 +43,20 @@ class vectorPanel {
ofxPanel panel;
};
+class svgPanel: public vectorPanel{
+ public:
+ svgPanel(
+ string _title="",
+ ofVec2f _size=DISPLAYSIZE,
+ ofVec2f _pos=ofPoint(5,5)
+ ) : vectorPanel(_title,_size,_pos){}
+ void load(string filename){
+ ofLog()<<"loading SVG "<<filename;
+ }
+
+ private:
+};
+
class ofApp: public ofBaseApp, public ofxMidiListener {
public:
@@ -69,7 +83,11 @@ class ofApp: public ofBaseApp, public ofxMidiListener {
void dragEvent(ofDragInfo dragInfo);
void newMidiMessage(ofxMidiMessage& eventArgs);
-
+
+ //======================================= //MIDI
+
+ ofxMidiIn midiIn;
+ ofxMidiMessage midiMessage;
//======================================= //saving settings
@@ -82,7 +100,7 @@ class ofApp: public ofBaseApp, public ofxMidiListener {
//======================================= //inputs
vectorPanel networkinput;
- vectorPanel svginput;
+ svgPanel svginput;
vectorPanel textinput;
};