summaryrefslogtreecommitdiff
path: root/gui/src/ofApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-07-07 14:13:32 +0100
committerTim Redfern <tim@getdrop.com>2018-07-07 14:13:32 +0100
commitc10665e02e49da2d8f7e1a1eada151f17f507a21 (patch)
tree791da6dfc40d566b5aea30b5202ca8f73b839948 /gui/src/ofApp.h
parent411146cc03ad9656a570251031cb1934f92bcd5f (diff)
drawing gui for plugins
Diffstat (limited to 'gui/src/ofApp.h')
-rw-r--r--gui/src/ofApp.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/gui/src/ofApp.h b/gui/src/ofApp.h
index ddc54d7..f7e8b51 100644
--- a/gui/src/ofApp.h
+++ b/gui/src/ofApp.h
@@ -112,30 +112,6 @@ class chaosPanel : public ofxPanel {
add(plugin_label.setup(chaosloader.name));
add(active.set("use",false));
add(amount.set("amount", 0.0f, -0.1f, 0.1f));
- add(scale.set("scale", 100.0f, 1.0f, 1000.0f));
- //delete variable sliders, is this even possible?
-
- //get number of params
- //create sliders with stored values
- //how to ignore the nx & ny params? I think nx & ny can be moved to the end
- //I think nx & ny (or value) can be removed and use ov[0] & ov[1] / ov[0]
- //add(plotter.chaos_a.set("a", 0.85f, 0.0f, 10.0f));
- //add(plotter.chaos_b.set("b", 0.9f, 0.0f, 10.0f));
- //add(plotter.chaos_k.set("k", 0.4f, 0.0f, 10.0f));
- //add(plotter.chaos_p.set("p", 7.7f, 0.0f, 10.0f));
-
- //can the float sliders be dynamically generated?
- //get the number of parameters in the selected plugin - iv.size()
- //create the parameters when the object is initialised
- //when switching to the plugin, add sliders for the parameters
- //if we reorder the params will the plugns function the same?
-
- int size=chaosloader.get().params.size();
-
- if (shown!=size) {
- ofLog()<<size<<" items";
- shown=size;
- }
for (auto p:chaosloader.get().params){
add(p);