HISE Logo Forum
    • Categories
    • Register
    • Login

    Keyboard LAF ...trigger a redraw...

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 211 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.
    • LindonL
      Lindon
      last edited by Lindon

      So I have a local LAF on my keybed display for each voice that the key is setup to play it draws a bar across the key:

      bd0ae696-30a8-4e7b-bca6-ad34d0e2fb41-image.png

      however... when I apply changes (using a slider to change the range being included/excluded) the keybed display does not update, and I have to roll the mouse over each key to get them to display the correct "bars"

      So before I go reinvent the wheel using a panel for this, ugly nasty, ugly....anyone know of a way to get the keybed local LAF to update and repaint itself.

      keybed.changed(); isnt it.

      HISE Development for hire.
      www.channelrobot.com

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

        Does this work?

        a15ea79b-7737-4130-96cb-5e60304654be-image.png

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

        Christoph HartC LindonL 2 Replies Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          Either that or if you've attached a broadcaster to it you can use bc.addComponentRefreshListener("MyTile", "repaint") but it should come down to the same effect.

          1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey said in Keyboard LAF ...trigger a redraw...:

            Does this work?

            a15ea79b-7737-4130-96cb-5e60304654be-image.png

            yep - that worked like a charm - thank you both.

            HISE Development for hire.
            www.channelrobot.com

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

            22

            Online

            1.7k

            Users

            11.8k

            Topics

            102.7k

            Posts