diff options
| author | Tim Redfern <tim@getdrop.com> | 2022-09-29 19:13:29 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2022-09-29 19:13:29 +0100 |
| commit | 8c43a654fdc0a0fd822fd0bd9462cdadf6d96456 (patch) | |
| tree | 888c79fc185ea4ed20d8fb120e8c6d8f7f53128c /gui/src/ofApp.cpp | |
| parent | 835ce29a83b134b037c5d9d4b9fc7a7d0cb1ada4 (diff) | |
chaos chaostim/colourSegmenter
Diffstat (limited to 'gui/src/ofApp.cpp')
| -rw-r--r-- | gui/src/ofApp.cpp | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index 2b7a9e1..1683057 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -3,9 +3,18 @@ const ofPoint outputWindowSize=ofPoint(1200,900); const float guiScale=560.0f/4096.0f; - - -string sourcenames[6 ]={ +const char keysDescription[]="\ +` toggle position interface\n\ +q source <\n\ +p source >\n\ +w toggle frame\n\ +d default settings\n\ +s save settings\n\ +rshift next plugin\n\ +lshift prev plugin"; + + +string sourcenames[6]={ "TEST", // "NDI", "Player", @@ -490,6 +499,8 @@ void ofApp::draw(){ ofSetColor(255); ofNoFill(); + ofDrawBitmapString(keysDescription, ofGetWidth()-200, ofGetHeight()-150); + if (bShowPositionInterface){ glPushMatrix(); @@ -832,6 +843,11 @@ void ofApp::drawOutput(ofEventArgs & args){ 0.0f,1.0f,0.0f,0.0f, 0.0f,0.0f,1.0f,0.0f, 0.0f,0.0f,0.0f,1.0f); + // added Sept 29 2022 trying to resurrect this + // does SOMETHING and the num of points remains correct + plotter.usechaos=chaosgui.active; + plotter.chaosamount=chaosgui.amount; + // polyOutput=plotter.output(scalePlot,decayPlot); break; } @@ -999,7 +1015,7 @@ void ofApp::outputKeyPressed(ofKeyEventArgs &args){ keyPressed(args); -} +} void ofApp::keyPressed(ofKeyEventArgs &args){ if (args.key==OF_KEY_COMMAND){ |
