From 673ae8ef6bcaba87e25b94da30b4650d0fc8a424 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 15 Sep 2023 19:10:09 +0100 Subject: initial commit --- futuregael/src/ofApp.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 futuregael/src/ofApp.h (limited to 'futuregael/src/ofApp.h') 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 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 script; +}; -- cgit v1.2.3 From 3b389388ae45857caa42130f8acf0aefedd12360 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 15 Sep 2023 19:15:44 +0100 Subject: remove unused addons --- futuregael/addons.make | 4 ---- futuregael/src/ofApp.h | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'futuregael/src/ofApp.h') diff --git a/futuregael/addons.make b/futuregael/addons.make index 206c2d9..30c4f5d 100644 --- a/futuregael/addons.make +++ b/futuregael/addons.make @@ -1,5 +1 @@ -ofxSvg -ofxGui -ofxXmlSettings -ofxHelios ofxCsv \ No newline at end of file diff --git a/futuregael/src/ofApp.h b/futuregael/src/ofApp.h index 9ab0cb2..26987e1 100644 --- a/futuregael/src/ofApp.h +++ b/futuregael/src/ofApp.h @@ -1,11 +1,7 @@ #pragma once #include "ofMain.h" -#include "ofxSvg.h" -#include "ofxGui.h" -#include "ofxXmlSettings.h" - -#include "ofxHelios.h" +# #include "ofxCsv.h" class scriptLine{ -- cgit v1.2.3