diff options
Diffstat (limited to 'futuregael/src/ofApp.h')
| -rw-r--r-- | futuregael/src/ofApp.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/futuregael/src/ofApp.h b/futuregael/src/ofApp.h new file mode 100644 index 0000000..26987e1 --- /dev/null +++ b/futuregael/src/ofApp.h @@ -0,0 +1,39 @@ +#pragma once + +#include "ofMain.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; +}; |
