HISE Logo Forum
    • Categories
    • Register
    • Login

    Arc slider

    Scheduled Pinned Locked Moved General Questions
    23 Posts 5 Posters 715 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.
    • U
      udalilprofile @ulrik
      last edited by

      @ulrik 11111.png

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

        @udalilprofile if it's inside a laf, you need to get the width and height from the obj.area
        "this" will not work

        g.setGradientFill([Colours.blue, 0, 0, Colours.red, obj.area[2], obj.area[3]]);
        

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

        1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @udalilprofile
          last edited by

          @udalilprofile when working with look and feel functions, it's very informative to

          Console.print(trace(obj));
          

          you will get all the information that is used inside.

          Same inside a keyPressCallback, use Console.print(trace(obj));
          or inside a mouseCallback, Console.print(trace(event));

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

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

          29

          Online

          1.7k

          Users

          11.8k

          Topics

          102.7k

          Posts