Dropdown Menu Preset System
-
hello
is it possible to make a preset browsing system like this?
Bank > Category > Preset name is looking like the below.
I think this is more useful for fx plugins.
Any ideas?
-
@harris-rosendahl Yes with Look and Feel.
-
@DabDab said in Dropdown Menu Preset System:
@harris-rosendahl Yes with Look and Feel.
@harris-rosendahl yes and you'll have to custom-code referencing/loading/saving presets too
-
@harris-rosendahl Can you give a starting point or example with look and feel about how to implement?
-
@harris-rosendahl Look and feel is useful for styling the combo boxes, that is the last thing you need to worry about. First you have the fun task of rolling your own preset browser. It's not easy, I gave it a go and decided against it.
Engine.getUserPresetList()
will give you a list of all the presets that are available in your project. You need to take that list and through a process of looping and string manipulation split its contents between your three menus. And each time a menu option is selected by the user from the first two menus you'll need to update the others.So if the user selects something from menu 1 you need to update the options in menu 2 and clear menu 3. If the user selects something in menu 2 you need to clear menu 3. I'm sure there is lots of other fun stuff to be done too.
-
@d-healey Thank you so much for the suggestion. It looks hard to implement to me and I think no need to do it every time for who needs it. I am sure lots of people will prefer this preset browsing style for fx plugins or even synth stuff too.
I hope @Christoph-Hart could add an option for this style to Hise :/
-
@harris-rosendahl
-
@DabDab Oh I see, you've added arrows to the end of the category lines with LAF. A good hack idea, Thank you! :)
We can't auto resize the heights of the factory and category with LAF, right?
-
@DabDab Haha that's awesome :)
-
@harris-rosendahl Yup, AFAIK know. :)