Forum

    • Register
    • Login
    • Search
    • Categories

    added ScriptComponent.sendRepaintMessage() ( != ScriptPanel.repaint())

    General Questions
    2
    2
    42
    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.healey
      d.healey last edited by

      Tell me more...

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

      Christoph Hart 1 Reply Last reply Reply Quote 0
      • Christoph Hart
        Christoph Hart @d.healey last edited by

        @d-healey It's just a simple call to JUCE's repaint() method that causes the UI element to repaint. The difference to the ScriptPanel.repaint() function is that this one will cause the scripted paint routine to be evaluated again.

        You're most likely need it if you're using custom LAF that use external data to paint some components so when you change that data you can call the sendRepaintMessage() function - otherwise you would have to do some hacks like changing the width by a pixel or something to trigger a repainting.

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

        9
        Online

        851
        Users

        5.7k
        Topics

        52.9k
        Posts