HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset Browser - List item background

    Scheduled Pinned Locked Moved General Questions
    22 Posts 6 Posters 699 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.
    • DabDabD
      DabDab @ustk
      last edited by DabDab

      @ustk said in Preset Browser - List item background:

      One problem I guess.. If a user doesn't know the exact way to save presets name like

      Category names like "BA", "DR" etc  and  _  speparator
      

      the Presets name shows something like this 778cd3b3-8588-4740-8332-9d84604755e1-image.png

      Bollywood Music Producer and Trance Producer.

      DanHD ustkU 3 Replies Last reply Reply Quote 0
      • DanHD
        DanH @DabDab
        last edited by

        @DabDab yep, will need a safety built in

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @DabDab
          last edited by

          @DabDab absolutely, it was just a quick draft but more safeties have to be made, which in the end are just some undefined checks

          Hise made me an F5 dude, browser just suffers...

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @DabDab
            last edited by ustk

            @DabDab you just need id to be checked

            		if (identifiers.contains(id))
            		{
            			a.removeFromLeft(30);
            			g.drawAlignedText(id, a, "left");
            		}
            

            this works even if a user enters a name that contains an _ char

            Hise made me an F5 dude, browser just suffers...

            DabDabD 1 Reply Last reply Reply Quote 0
            • DabDabD
              DabDab @ustk
              last edited by

              @ustk said in Preset Browser - List item background:

                if (identifiers.contains(id))
                {
                	a.removeFromLeft(30);
                	g.drawAlignedText(id, a, "left");
                }
              

              But if a user only enters words without the id and cat the name is unidentified. End users must need to know how to write and save presets otherwise it will not be visible.
              91f01480-6171-4eea-a942-5c86728382b1-image.png

              Bollywood Music Producer and Trance Producer.

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @DabDab
                last edited by ustk

                @DabDab try this

                HiseSnippet 1448.3ocsWssaaaDDkT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OsZ1gydAWBujUMtf19NamkU46uVcpm1E7f.PrV0p8FD+aFVkMO7BPTGe3MXNr.H1+qXSUq6uoZ9d9t5lO4.xwmnnxWNCX22NAFIcrv6d0fdDIQ0INQFhaFHjTEEL6AWg6Cp6KW1pGDcojOKFaRaNrwrLYiDcm37c8LnXK5GaUnQnwMYab9kGb6hA+r+AWS8jSWH3O+kCzq5Y3kGjvQMgdrUgVVFWLIcO3xOBQ+2JSvVRgYR+828quqnz1IfiuhyDk9sRVu01wohJiNlbEzctTxYU9ZGoXNTOUyQ2LivhvE1nNQGF2FCQ3SvpxEPh2MVrdyUEXQq3Sb8WCufpLwXIINeQc3CFoF0wya8g3DP8P9500CB.48naLtun6ztDQdE8IWwEXZScRmErHiD4UWvr4AAiHxoo5iJjjRlqCv7nGzkKvrUA8uXdnN0pLaqXQ5w+fpR4DrnhiJNCk6fcFZuS8UtaG7+2DanZCsN3FPKHehY0W2eKrRGtS3WOh34gkvuu1sHG1kOm4on+YZEGyEIo8k0jUpsrlzj2JZsuCOT5JmeBO4F2ad.QV73bpC8ln.qZKbFJ04jv0.4s4OT7+amw68khOwZDU5Nc8brzZ3H1z5CAGSNY7mZcjuOd9kLBtoU+e7CywfMNgOW0g7XhTPwFjVXk+Xr6jKfQmwv85PYlkTMt0iapFqx.iAlW7f2gWIJaoFalnrUpRiPhqfetqdSH0Yu+nXIHmXwumRY7ElvwNsLh2XJedNDeUfyccK5pULr8C0vsdnFt8C0vcdnFt6C0v8dnF9z+aCUuoVm4Rdn9wFCiiGcT7dYllGwHXEXb0pw+bl8Q4G
                

                Hise made me an F5 dude, browser just suffers...

                DabDabD 1 Reply Last reply Reply Quote 1
                • DabDabD
                  DabDab @ustk
                  last edited by

                  @ustk Excellent. Working Correctly. thalaivar-rajinikanth.gif

                  Bollywood Music Producer and Trance Producer.

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @DabDab
                    last edited by

                    @ustk Got this working nicely, thanks! However I guess what I'm really after is a reflection of the preset tags... @Christoph-Hart is there any way to dig the preset tags out a preset and display this in the preset browser list items?

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    HISEnbergH 1 Reply Last reply Reply Quote 0
                    • HISEnbergH
                      HISEnberg @DanH
                      last edited by

                      @DanH I am not sure how comfortable you are with editing the source code, but if you are signed up to David's Patreon he shows how to make edit's to the preset browser source here: https://www.patreon.com/posts/adding-custom-to-126009781

                      I am finding this pretty useful. I'm actually tinkering around in their currently to edit the tag list. In my case it's the 30 pixel, one line of tags that is limiting (I need multiline).

                      What you are after may be doable in HISEscript alone though I can't really think of a solution off the top of my head.

                      DanHD 1 Reply Last reply Reply Quote 0
                      • DanHD
                        DanH @HISEnberg
                        last edited by DanH

                        @HISEnberg happy with editing source code although these days I try not to do it if possible.

                        I'll take a look at the vid, thanks

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

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

                        48

                        Online

                        1.9k

                        Users

                        12.5k

                        Topics

                        109.0k

                        Posts