HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF for Preset Browser Buttons

    Scheduled Pinned Locked Moved Solved Scripting
    7 Posts 2 Posters 312 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.
    • C
      clevername27
      last edited by

      Does anyone know the LAF for the Preset Browser's buttons? Thanks.

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

        https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/LookAndFeel.js#L839

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        C 1 Reply Last reply Reply Quote 1
        • C clevername27 has marked this topic as solved on
        • C
          clevername27 @d.healey
          last edited by

          @d-healey Thanks on this. Wondering if you might be able to help with this? I'm receiving this error:

          ee92b266-8ff5-4eba-87c8-002da1906b1a-image.png

          Here's the line (#855 for you).

          drawPathButton(path, a, [Colours.withAlpha(bgColour, 0.8), Colours.withAlpha(bgColour, 1.0), Colours.withAlpha(bgColour, 0.5)]);
          
          

          Cheers

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

            @clevername27 where's bgColour coming from? And where is drawPathButton coming from?

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            C 1 Reply Last reply Reply Quote 0
            • C
              clevername27 @d.healey
              last edited by clevername27

              @d-healey I'm not sure I understand what you mean - from what I can see, that's in your code. bgColour is defined earlier in the function.

              4f48475d-1809-429a-8f9c-09dde30ac80b-image.png

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

                @clevername27 said in LAF for Preset Browser Buttons:

                from what I can see, that's in your code. bgColour is defined earlier in the function.

                I thought you were posting your code above, copying/pasting my code into your project won't work. I was showing my code so you can see the method and implement it in your own project.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                C 1 Reply Last reply Reply Quote 0
                • C
                  clevername27 @d.healey
                  last edited by

                  @d-healey Thank you - understood.

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

                  22

                  Online

                  2.0k

                  Users

                  12.7k

                  Topics

                  110.5k

                  Posts