DPF-Widgets icon indicating copy to clipboard operation
DPF-Widgets copied to clipboard

a widget that display a line

Open noisecode3 opened this issue 4 years ago • 4 comments

A widget that display a line in both time or frequency domain would be nice to have as a standard in DPF. It would need have a parameter as input from the plugin side and a background as minimum. It could both be continues and still(defined range), if its still in time/frequency domain it could be used to take input from parameters like sliders and knobs to create something like oscillators or a distortion curve. Background can also be transparent without the need of image data. I don't know how it should be done but the traffic from plugin side to the GUI cant be to much if it get a signal parameter.

noisecode3 avatar Mar 23 '21 21:03 noisecode3

I am not okay with having this in standard dpf repo, but makes sense to have it somewhere reachable and public. So I will take this as a request for community-driven DPF-Widgets repository. I will setup that one after the big dpf pugl rework is complete.

falkTX avatar May 20 '21 18:05 falkTX

moved this ticket into a new repo

falkTX avatar May 26 '21 22:05 falkTX

Hi, can we add ImPlot? I'll try adding it myself, first. It looks like I just have to add it to DearImGui.cpp and DearImGui.hpp ?

noisecode3 avatar Jan 13 '23 10:01 noisecode3

ImPlot already works as-is, no need to import every single imgui lib. the knobs are a bit of an exception since it is quite small and integrates well.

See https://github.com/trummerschlunk/master_me/blob/master/plugin/widgets/Histogram.hpp for something that integrates/uses ImPlot.

falkTX avatar Jan 13 '23 12:01 falkTX