HISE Logo Forum
    • Categories
    • Register
    • Login

    Dropdown Menu Preset System

    Scheduled Pinned Locked Moved General Questions
    10 Posts 5 Posters 475 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by A Former User

      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?

      Preset.jpg

      DabDabD ? 3 Replies Last reply Reply Quote 0
      • DabDabD
        DabDab @A Former User
        last edited by

        @harris-rosendahl Yes with Look and Feel.

        Bollywood Music Producer and Trance Producer.

        Matt_SFM 1 Reply Last reply Reply Quote 0
        • Matt_SFM
          Matt_SF @DabDab
          last edited by

          @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

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @A Former User
            last edited by

            @harris-rosendahl Can you give a starting point or example with look and feel about how to implement?

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @A Former User
              last edited by

              @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.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @d.healey
                last edited by A Former User

                @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 :/

                1 Reply Last reply Reply Quote 0
                • DabDabD
                  DabDab @A Former User
                  last edited by

                  @harris-rosendahl

                  PB.gif

                  Bollywood Music Producer and Trance Producer.

                  ? d.healeyD 2 Replies Last reply Reply Quote 1
                  • ?
                    A Former User @DabDab
                    last edited by

                    @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?

                    DabDabD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @DabDab
                      last edited by

                      @DabDab Haha that's awesome :)

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 0
                      • DabDabD
                        DabDab @A Former User
                        last edited by

                        @harris-rosendahl Yup, AFAIK know. :)

                        Bollywood Music Producer and Trance Producer.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        33

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.0k

                        Posts