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.cpp | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ futuregael/src/ofApp.h | 43 +++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 futuregael/src/ofApp.cpp create mode 100644 futuregael/src/ofApp.h (limited to 'futuregael/src') diff --git a/futuregael/src/ofApp.cpp b/futuregael/src/ofApp.cpp new file mode 100644 index 0000000..77fb538 --- /dev/null +++ b/futuregael/src/ofApp.cpp @@ -0,0 +1,97 @@ +#include "ofApp.h" + + + +//-------------------------------------------------------------- +void ofApp::setup(){ + // Load a CSV File. + if(csv.load("show.csv","|")) { + ofLog()<<"found "< 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') 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