diff options
Diffstat (limited to 'futuregael/src/ofApp.h')
| -rw-r--r-- | futuregael/src/ofApp.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/futuregael/src/ofApp.h b/futuregael/src/ofApp.h new file mode 100644 index 0000000..9ab0cb2 --- /dev/null +++ b/futuregael/src/ofApp.h @@ -0,0 +1,43 @@ +#pragma once + +#include "ofMain.h" +#include "ofxSvg.h" +#include "ofxGui.h" +#include "ofxXmlSettings.h" + +#include "ofxHelios.h" +#include "ofxCsv.h" + +class scriptLine{ +public: + scriptLine(string audiofile,string palette,string words){ + audio.load(audiofile); + text=words; + } + vector<ofColor> palette; + string text; + ofSoundPlayer audio; +}; + +class ofApp : public ofBaseApp{ + + public: + void setup(); + void update(); + void draw(); + void exit(); + 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 dragEvent(ofDragInfo dragInfo); + + ofxCsv csv; + + vector<scriptLine> script; +}; |
