From d96c5943f817e63be4a3edb6ed3dfd33b919bd7a Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 21 Mar 2017 22:10:44 +0000 Subject: initial commit --- menuApp/src/ofApp.h | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 menuApp/src/ofApp.h (limited to 'menuApp/src/ofApp.h') 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 images; + + ofTrueTypeFont type14; + //ofImage images[5]; +}; + -- cgit v1.2.3