Dynamic FX and UI approach...
-
I'm working on a dynamic FX section, so using slots and base64 saved states that will be recalled for the modules
I don't know how to handle the UI component (not talking about drawing dynamic stuff, that part is done), but the FX panels themselves.If I insert 3 times the same effect, then remove two of them, then insert something else...
I think I can just create panels using a function per FX, but how do I remove them? just hiding? after a lot of manipulation, the interface will be absolutely cluttered with non-visible elements...Another solution could be creating like 4 instances of each FX, but that means with 10 FXs 10x4=40 pre-made hidden panels... a lot of panels...
imagine if I want the limit per FX to be higher...