diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-01-17 00:15:21 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-01-17 00:15:21 +0000 |
| commit | 84b99181e804430acedb94ba848a801ffc33e15a (patch) | |
| tree | 71492826404c3aa8a5841d3bb2614b9912e9e85f /drawing/src/ofApp.h | |
initial commit
Diffstat (limited to 'drawing/src/ofApp.h')
| -rw-r--r-- | drawing/src/ofApp.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drawing/src/ofApp.h b/drawing/src/ofApp.h new file mode 100644 index 0000000..05d4441 --- /dev/null +++ b/drawing/src/ofApp.h @@ -0,0 +1,35 @@ +#pragma once + +#include "ofMain.h" +#include "ofxSvg.h" +#include "lineSegmenter.h" + + +class ofApp : public ofBaseApp{ + + public: + void setup(); + void update(); + void updateOutput(ofEventArgs & args); + void draw(); + void drawOutput(ofEventArgs & args); + void exit(); + + void outputKeyPressed(ofKeyEventArgs & args); + + void keyPressed(ofKeyEventArgs &keyargs); + 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 mouseEntered(int x, int y); + void mouseExited(int x, int y); + void windowResized(int w, int h); + void outputWindowResized(ofResizeEventArgs &resizeargs); + void dragEvent(ofDragInfo dragInfo); + void gotMessage(ofMessage msg); + + vector <lineSegmenter> segments; + +}; |
