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