HISE Logo Forum
    • Categories
    • Register
    • Login

    Moddifying the table UI element

    Scheduled Pinned Locked Moved Scripting
    9 Posts 5 Posters 114 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.
    • S
      SBKZ
      last edited by

      Hey is there any way for me to give the table UI element a snap grid and is there a way for me to change the tension between curves in a different way than just right click and drag? I have no problems coding it in, but I am really new to it and don't fully understand it. Thanks a lot! Have a nice day.

      d.healeyD 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @SBKZ
        last edited by

        @SBKZ You can style it with look and feel. Not sure about snapping, might be possible.

        You can use mouse scroll wheel to change the curve, but you need to compile with an extra preprocessor definition, I'll check what it is when I'm back at my computer and let you know.

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

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

          @SBKZ This is it HISE_USE_MOUSE_WHEEL_FOR_TABLE_CURVE=1

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

          S 1 Reply Last reply Reply Quote 1
          • dannytaurusD
            dannytaurus
            last edited by

            I'm interested in snapping too, for a future project. I'm guessing it'll be a lot of mouse position tracking and quantising values of the table points.

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @dannytaurus
              last edited by

              const var Table1 = Content.getComponent("Table1");
              
              Table1.setSnapValues([0.0, 0.25, 0.5, 0.75, 1.0]);
              
              dannytaurusD S DanHD 3 Replies Last reply Reply Quote 4
              • dannytaurusD
                dannytaurus @Christoph Hart
                last edited by

                @Christoph-Hart said in Moddifying the table UI element:

                const var Table1 = Content.getComponent("Table1");
                
                Table1.setSnapValues([0.0, 0.25, 0.5, 0.75, 1.0]);
                

                WHATTHE! 😂 👏 🎉 😎

                Meat Beats: https://meatbeats.com
                Klippr Video: https://klippr.video

                1 Reply Last reply Reply Quote 0
                • S
                  SBKZ @Christoph Hart
                  last edited by

                  Yooooo thank you so much!

                  1 Reply Last reply Reply Quote 0
                  • S
                    SBKZ @d.healey
                    last edited by

                    @d-healey Ah so it is just a function. Thanks for helping out!

                    1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @Christoph-Hart ah nice, didn't know about this :)

                      It would be also be an excellent ux upgrade to include drag handles for the curves rather than mousewheel / right-click dragging.

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

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

                      16

                      Online

                      1.8k

                      Users

                      12.2k

                      Topics

                      106.0k

                      Posts