HISE Logo Forum
    • Categories
    • Register
    • Login

    Panel hover

    Scheduled Pinned Locked Moved Newbie League
    2 Posts 2 Posters 31 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

      Is it possible to detect mouseOver on a Panel's setPaintRoutine?

      I'd like some elements to appear only on hovering the panel.

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

        @daniloprates You do the detection in the panel's mouse callback and set a value in the panel's data object. Then in the paint routine you can pickup that value to know if the mouse is over the panel or not.

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

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

        52

        Online

        1.9k

        Users

        12.3k

        Topics

        107.3k

        Posts