diff options
| author | tim <tim@eclectronics.org> | 2017-03-21 22:10:44 +0000 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2017-03-21 22:10:44 +0000 |
| commit | d96c5943f817e63be4a3edb6ed3dfd33b919bd7a (patch) | |
| tree | 15ad2ca6f22decff78b252aede937092a1dac0e4 /menuApp/src/ofApp.h | |
initial commit
Diffstat (limited to 'menuApp/src/ofApp.h')
| -rw-r--r-- | menuApp/src/ofApp.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/menuApp/src/ofApp.h b/menuApp/src/ofApp.h new file mode 100644 index 0000000..3bf58d6 --- /dev/null +++ b/menuApp/src/ofApp.h @@ -0,0 +1,49 @@ +#pragma once + +#include "ofMain.h" +#include "ofxInstagram.h" +#include "ofxThreadedImageLoader.h" + +#define IMAGE_SLOTS 5 +#define FACTOR 0.3 + +class ofApp : public ofBaseApp{ + + public: + + void setup(); + void update(); + void draw(); + void loadimages(); + + 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 mouseEntered(int x, int y); + void mouseExited(int x, int y); + void windowResized(int w, int h); + void dragEvent(ofDragInfo dragInfo); + void gotMessage(ofMessage msg); + void exit(); + + ofImage bikers; + ofImage gears; + ofImage tdf; + ofImage tdfSmall; + ofImage transparency; + ofImage bikeIcon; + + ofImage background; + ofImage overlay; + + ofxInstagram instagram; + ofxThreadedImageLoader getImages; + deque<ofImage> images; + + ofTrueTypeFont type14; + //ofImage images[5]; +}; + |
