Open axtimwalde opened 2 years ago
We need better convenience methods for typical UI elements, in particular sliders, buttons, switches, input fields, making best use of functional interfaces. I am dreaming of simple things like:
bdv.addSlider(String:name, double:min, double:max, double:nSteps, Consumer<Double>:onChange)
Not sure what the best way is to provide context to onChange, but since this can be a closure, it basically has access to everything.
onChange
We need better convenience methods for typical UI elements, in particular sliders, buttons, switches, input fields, making best use of functional interfaces. I am dreaming of simple things like:
Not sure what the best way is to provide context to
onChange
, but since this can be a closure, it basically has access to everything.