diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-09-15 19:10:09 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-09-15 19:10:09 +0100 |
| commit | 673ae8ef6bcaba87e25b94da30b4650d0fc8a424 (patch) | |
| tree | 47baddf34f3ef19ac897f85754d08ac26abda330 /futuregael/src/ofApp.h | |
| parent | 9ac6ff8bd3077533aa2758e4f0f36ceddafe2cf6 (diff) | |
initial commit
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; +}; |
