diff options
| author | Tim Redfern <redfernt@gmail.com> | 2023-09-15 19:58:21 +0100 |
|---|---|---|
| committer | Tim Redfern <redfernt@gmail.com> | 2023-09-15 19:58:21 +0100 |
| commit | ce815a746a91d0ac0fd7a883223fefe5cc07b339 (patch) | |
| tree | 2a380d635a28384e859bd37004ee6d83022a0a95 /futuregael/src/ofApp.cpp | |
| parent | 4d3b988b772882eca327e9754998913ed021c388 (diff) | |
| parent | 3b389388ae45857caa42130f8acf0aefedd12360 (diff) | |
Merge Sranch 'master' of ssh://192.168.15.218/Users/tim/Backup/git/raverony
Diffstat (limited to 'futuregael/src/ofApp.cpp')
| -rw-r--r-- | futuregael/src/ofApp.cpp | 97 |
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){ +} |
