| 5 | #include "ofxOsc.h" |
| 6 | |
| 7 | class testApp : public ofBaseApp{ |
| 8 | public: |
| 9 | void setup(); |
| 10 | void update(); |
| 11 | void draw(); |
| 12 | |
| 13 | void keyPressed(int key); |
| 14 | void keyReleased(int key); |
| 15 | void mouseMoved(int x, int y); |
| 16 | void mouseDragged(int x, int y, int button); |
| 17 | void mousePressed(int x, int y, int button); |
| 18 | void mouseReleased(int x, int y, int button); |
| 19 | void windowResized(int w, int h); |
| 20 | void dragEvent(ofDragInfo dragInfo); |
| 21 | void gotMessage(ofMessage msg); |
| 22 | void exit(); |
| 23 | |
| 24 | void guiEvent(ofxUIEventArgs &e); |
| 25 | void sendCurrentCommand(); |
| 26 | void clearArgs(); |
| 27 | |
| 28 | ofColor redColor; |
| 29 | ofColor blueColor; |
| 30 | float seekPercent; |
| 31 | |
| 32 | ofxOscSender sender; |
| 33 | |
| 34 | ofxUICanvas* gui; |
| 35 | |
| 36 | //ROW 0 IP settings |
| 37 | ofxUITextInput* ipInput; |
| 38 | ofxUITextInput* portInput; |
| 39 | |
| 40 | //ROW 1 commands |
| 41 | ofxUITextInput* commandInput; |
| 42 | ofxUITextInput* arg1; |
| 43 | ofxUITextInput* arg2; |
| 44 | ofxUITextInput* arg3; |
| 45 | ofxUILabelButton* sendButton; |
| 46 | |
| 47 | //ROW 2 time and playback |
| 48 | ofxUILabelButton* playButton; |
| 49 | ofxUILabelButton* stopButton; |
| 50 | ofxUILabelButton* saveButton; |
| 51 | ofxUILabelButton* setDurationButton; |
| 52 | ofxUITextInput* durationInput; |
| 53 | |
| 54 | //ROW 3 add track |
| 55 | ofxUITextInput* trackNameInput; |
| 56 | ofxUIDropDownList* addTrackDropdown; |
| 57 | ofxUITextInput* filePathInput; |
| 58 | ofxUILabelButton* addTrackButton; |
| 59 | |
| 60 | //ROW 4 configure track |
| 61 | |
| 62 | //ROW 5 remove track |
| 63 | // ofxUITextInput* removeTrackNameInput; |
| 64 | ofxUILabelButton* removeTrackButton; |
nothing calls this directly
no outgoing calls
no test coverage detected