HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF for Preset Browser Buttons

    Scheduled Pinned Locked Moved Solved Scripting
    7 Posts 2 Posters 274 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.
    • clevername27C
      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

        Link Preview Image
        RhapsodyBoilerplate/includes/LookAndFeel.js at main

        RhapsodyBoilerplate - Boilerplate code used by Rhapsody.

        favicon

        Codeberg.org (codeberg.org)

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

        clevername27C 1 Reply Last reply Reply Quote 1
        • clevername27C clevername27 has marked this topic as solved on
        • clevername27C
          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?

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

            clevername27C 1 Reply Last reply Reply Quote 0
            • clevername27C
              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.

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

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

                  @d-healey Thank you - understood.

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

                  51

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.2k

                  Posts