summaryrefslogtreecommitdiff
path: root/menuApp/src/ofApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'menuApp/src/ofApp.h')
-rw-r--r--menuApp/src/ofApp.h49
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];
+};
+