diff options
Diffstat (limited to 'polyTest/src/ofApp.h')
| -rw-r--r-- | polyTest/src/ofApp.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/polyTest/src/ofApp.h b/polyTest/src/ofApp.h new file mode 100644 index 0000000..316649c --- /dev/null +++ b/polyTest/src/ofApp.h @@ -0,0 +1,35 @@ +#pragma once + +#include "ofMain.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); + + ofPolyline polyLineTransform(const ofPolyline& poly, ofMatrix4x4 xform); + + +}; |
