HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF how to customize any object?

    Scheduled Pinned Locked Moved Scripting
    4 Posts 3 Posters 70 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.
    • D
      daniloprates
      last edited by

      Hey there,

      First of all, I'm new here and am loving the community and collective effort.

      I'm trying to understand LAF, but couldn't find an easy way to find which registerFunction fn to use for each UI component. For instance, I'm trying to modify the laf of a panel, but couldn't find a laf.registerFunction("drawPanel", fn);.

      Is there a way to modify a component without using a registerFunction?

      Thanks in advance.

      d.healeyD mmprodM 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @daniloprates
        last edited by

        @daniloprates

        Hello,

        Panels don't have LAF, you can use a paint routine which does the same thing.

        For other laf the easiest way to find out what is available is to use the autocomplete popup menu in HISE which will show a big list of all the possible functions - sometimes a little guesswork might be required to know if the function applies to your component. There are also some specific functions listed with examples in the docs.

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

        1 Reply Last reply Reply Quote 0
        • mmprodM
          mmprod @daniloprates
          last edited by

          @daniloprates

          Hi! You can style the panel with a paint routine
          https://youtube.com/watch?v=ZjRRcOmTtqI

          @d-healey also has videos on LAF

          For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
          John 3:16

          1 Reply Last reply Reply Quote 0
          • D
            daniloprates
            last edited by

            Great, thanks a lot, guys!

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

            53

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts