diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-05-17 22:46:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-05-17 22:46:02 +0100 |
| commit | 7bd13a723d9e118b32e47cd73fa8d7c2534918e2 (patch) | |
| tree | 5f2e70dc2be99802e1efc4e3c028a272474a172b /src/testApp.h | |
initial commit
Diffstat (limited to 'src/testApp.h')
| -rw-r--r-- | src/testApp.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/testApp.h b/src/testApp.h new file mode 100644 index 0000000..36e6f54 --- /dev/null +++ b/src/testApp.h @@ -0,0 +1,29 @@ +#include "ofMain.h" + + + +class testApp : public ofBaseApp{ + + public: + void setup(); + void update(); + void draw(); + + void keyPressed(int key); + 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 windowResized(int w, int h); + void dragEvent(ofDragInfo dragInfo); + void gotMessage(ofMessage msg); + + int windowWidth, windowHeight; + + ofCamera camera; + + ofPoint *lines; + +}; + |
