HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset Browser Buttons Change

    Scheduled Pinned Locked Moved General Questions
    12 Posts 3 Posters 545 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.
    • DanHD
      DanH @d.healey
      last edited by

      @d-healey said in Preset Browser Buttons Change:

      Link Preview Image
      Preset browser additions

      I've made a few additions to the preset browser which some of you might find useful. These are available in my fork and I've also opened a pull request for C...

      favicon

      Forum (forum.hise.audio)

      oh right, haha! I do remember reading that, I had an inkling you were behind it!

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

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

        @danh I think setting an offset of 10 should restore it to the default appearance.

        Add this to the preset browser's Data properties "EditButtonOffset": 10

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

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey so weirdly in an existing project I only get these options:

          Screenshot 2022-01-21 at 17.19.39.png

          In a new one I get the whole new funky list.... Adding that line works though, but doesn't really solve my issue with the design. It just moves the buttons up a bit. IMO they should be in a separate area like before :)

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

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

            @danh said in Preset Browser Buttons Change:

            so weirdly in an existing project

            It's not weird, the old preset browser was added before the new properties existed.

            @danh said in Preset Browser Buttons Change:

            but doesn't really solve my issue with the design. I

            Can you show me a screen shot of what it looked like previously?

            @danh said in Preset Browser Buttons Change:

            they should be in a separate area like before

            Well they are exactly where they always have been ;) In the previous version the column was drawn only as large as the list. This meant that using the look and feel to draw the column background actually only affected the list area and not the entire column. The change I did makes it so that the column background is no longer tied to the list background but is instead... the column background. This has the side-effect you see but makes it much more customisable when using LAF.

            As an example I was able to create this with the buttons within the columns, I couldn't have done this in the previous version without some hacky panel stuff.

            0b66ea78-0d30-4754-812b-07586c6cad16-image.png

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

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @d.healey
              last edited by

              @d-healey said in Preset Browser Buttons Change:

              It's not weird

              Gotcha. Below is how it used to be - the boxes are actually quite faint but use itemcolour1

              Screenshot 2022-01-21 at 17.44.45.png

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

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

                @danh said in Preset Browser Buttons Change:

                Below is how it used to be

                Ok I see the problem. I'll need to add something in the source for this.

                I think I'll set it up so that if the new properties aren't there it will have the old appearance and if the new properties are present it will have the new appearance. So by default a freshly added preset browser will have the new appearance but you can get the old appearance by removing the additional properties - does that sound like a good idea? Opinions please... @Christoph-Hart @ustk

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

                DanHD ustkU 2 Replies Last reply Reply Quote 1
                • DanHD
                  DanH @d.healey
                  last edited by

                  @d-healey sounds good to me :)

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

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

                    @danh In the meantime

                    HiseSnippet 1112.3ocsV0saaaCElxIJX1aCccnO.D9JG.WO6j1tgMLrXmXWDrjTC6rrADDTPKQKwEJRAJJ6ZTDfh8DrWk8FrGoc2tL6PQYK6FurDCLAXIe9imOd3mNG0WI8nIIRExo74yhoHmOyc3LgN7vPBSfN9Hj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Hli07dmi8Pg3Sc6yzdgqGikVCFgFG+efw7o+eta2wigF9E.ba2d+xlNp++H8v.FSWpSIZECZR4BD9gPGBOJjcgfxgE20ojo4oUtoQ1TAFRE9YB2BW4FaYjcxM1ZtQTDwSIeqmcnf46K9jLM.lDYeNUY2SMx3VnrAEPbtMazDEAepya87La+mC8yWeL6sAwr+FDyK1fXd4FDyq1fX95MHlu4diw7UlsS0xH6qCfh9cylS33zUP.lUFKD8OXzt8PH
                    

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

                    1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey Good idea 👍

                      Can't help pressing F5 in the forum...

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

                        It occurred to me people might want the best of both worlds, so I went with a different option and added a property called ButtonsInsideBorder if this is set to true you get the new appearance, if it's set to false (or omitted as will be the case for older projects) you get the old appearance.

                        By default the property is false so when adding a new preset browser you will get the old appearance. I've also set the default of the EditButtonOffset property to 10.

                        If this sounds good to you guys I'll make a pull request.

                        With this new setting you can do things like this:

                        c6d90267-8163-4999-a7c3-bea6400d462f-image.png

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

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

                        21

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.1k

                        Posts