diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-04-17 20:35:00 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-04-17 20:35:00 +0100 |
| commit | 6bc87ce4acd393071a4c8a43499be7978528e3eb (patch) | |
| tree | c6d7385e8b74b290e66a97c241ed7e01d373c137 /nextus/src/ofApp.h | |
| parent | 19be92e0aff674b95bdae72fe7a2e409fd1bf77a (diff) | |
making nextus panels
Diffstat (limited to 'nextus/src/ofApp.h')
| -rw-r--r-- | nextus/src/ofApp.h | 22 |
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; }; |
