diff options
Diffstat (limited to 'futuregael/src/ofApp.h')
| -rw-r--r-- | futuregael/src/ofApp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/futuregael/src/ofApp.h b/futuregael/src/ofApp.h index 26987e1..b5d0c25 100644 --- a/futuregael/src/ofApp.h +++ b/futuregael/src/ofApp.h @@ -1,14 +1,18 @@ #pragma once #include "ofMain.h" -# + #include "ofxCsv.h" class scriptLine{ public: - scriptLine(string audiofile,string palette,string words){ + scriptLine(string audiofile,string cols,string words){ audio.load(audiofile); text=words; + vector<string> colours=ofSplitString(cols,","); + for (auto c: colours){ + ofLog()<<"got colour: "<<ofColor::fromHex(ofHexToInt(c)); + } } vector<ofColor> palette; string text; |
