summaryrefslogtreecommitdiff
path: root/futuregael/src/ofApp.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2023-09-15 19:10:09 +0100
committerTim Redfern <tim@getdrop.com>2023-09-15 19:10:09 +0100
commit673ae8ef6bcaba87e25b94da30b4650d0fc8a424 (patch)
tree47baddf34f3ef19ac897f85754d08ac26abda330 /futuregael/src/ofApp.cpp
parent9ac6ff8bd3077533aa2758e4f0f36ceddafe2cf6 (diff)
initial commit
Diffstat (limited to 'futuregael/src/ofApp.cpp')
-rw-r--r--futuregael/src/ofApp.cpp97
1 files changed, 97 insertions, 0 deletions
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 "<<csv.getNumRows()<<" of data";
+
+ for (auto row:csv){
+ if (row.size()<2){
+ ofLog()<<"Error, found row with "<<row.size()<<" elements";
+ }
+ else script.push_back(scriptLine(row[0],row[1],row[2]));
+ }
+
+ }
+
+
+}
+
+//--------------------------------------------------------------
+void ofApp::update(){
+
+}
+
+//--------------------------------------------------------------
+void ofApp::draw(){
+
+
+
+}
+
+
+//--------------------------------------------------------------
+void ofApp::exit() {
+
+}
+
+
+
+//--------------------------------------------------------------
+void ofApp::keyPressed(ofKeyEventArgs &args){
+
+
+
+}
+
+
+
+//--------------------------------------------------------------
+void ofApp::keyReleased(int key){
+ switch(key){
+ case OF_KEY_UP:{
+ break;
+ }
+ case OF_KEY_DOWN:{
+ break;
+ }
+ }
+}
+
+//--------------------------------------------------------------
+void ofApp::mouseMoved(int x, int y ){
+
+}
+
+//--------------------------------------------------------------
+void ofApp::mouseDragged(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void ofApp::mousePressed(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void ofApp::mouseReleased(int x, int y, int button){
+}
+
+//--------------------------------------------------------------
+void ofApp::mouseEntered(int x, int y){
+}
+
+//--------------------------------------------------------------
+void ofApp::mouseExited(int x, int y){
+}
+
+//--------------------------------------------------------------
+void ofApp::windowResized(int w, int h){
+}
+
+//--------------------------------------------------------------
+void ofApp::dragEvent(ofDragInfo dragInfo){
+}