ControlP5: Disable GUI elements?
in
Contributed Library Questions
•
2 years ago
Is there any way to temporarily disable/enable GUI elements in ControlP5?
I guess it could be achieved with tabs, but in some situations it would make sense to have the option to make controllers inactive the same way Windows grays out buttons that are inactive. Or am I missing something?
I'm also missing more convenience methods to retrieve Buttons, Sliders etc. by ID, name etc. getControllerList() works but requires post-processing and type-casting. Functions like getButton(id), getSlider(id), getAllButtons() and getAllSliders() would be very useful.
Otherwise I'd like to express my great gratitude to Andreas for building this, if you add a Donate button I'd happily send you money for a beer...
I guess it could be achieved with tabs, but in some situations it would make sense to have the option to make controllers inactive the same way Windows grays out buttons that are inactive. Or am I missing something?
I'm also missing more convenience methods to retrieve Buttons, Sliders etc. by ID, name etc. getControllerList() works but requires post-processing and type-casting. Functions like getButton(id), getSlider(id), getAllButtons() and getAllSliders() would be very useful.
Otherwise I'd like to express my great gratitude to Andreas for building this, if you add a Donate button I'd happily send you money for a beer...
1