HISE Logo Forum
    • Categories
    • Register
    • Login

    Get realtime mouse position in panel.

    Scheduled Pinned Locked Moved General Questions
    6 Posts 4 Posters 279 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.
    • oskarshO
      oskarsh
      last edited by

      Hey is it possible to get the realtime (x/y) values of the cursor inside a panel?

      I've enabled Clicks&Hover and attached to the panel broadcaster however it seems like the event is only triggered once and on clicks but I would love to get the X and Y position of the mouse inside the panel.

      ulrikU pelleP 2 Replies Last reply Reply Quote 0
      • ulrikU
        ulrik @oskarsh
        last edited by

        @oskarsh set allowCallbacks to All Callbacks

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        1 Reply Last reply Reply Quote 1
        • pelleP
          pelle @oskarsh
          last edited by

          @oskarsh Hi, have you solved this? Can you help me?

          oskarshO 1 Reply Last reply Reply Quote 0
          • oskarshO
            oskarsh @pelle
            last edited by

            @pelle yes set the panel to all callbacks and use the mouse broadcaster to get the events

            A 1 Reply Last reply Reply Quote 1
            • A
              aaronventure @oskarsh
              last edited by

              @oskarsh The panel also has its own mouse callback so you can do it there, without creating another broadcaster, unless you have need of the broadcaster's modular function stacking.

              Any other widget type and yeah, you need a broadcaster.

              pelleP 1 Reply Last reply Reply Quote 1
              • pelleP
                pelle @aaronventure
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                26

                Online

                1.7k

                Users

                11.8k

                Topics

                102.8k

                Posts