HISE Logo Forum
    • Categories
    • Register
    • Login

    Is there a way to change the ScaleFactorList value via code?

    Scheduled Pinned Locked Moved General Questions
    8 Posts 3 Posters 417 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.
    • L
      LeeC
      last edited by

      I'm trying to find a way to change the value of 'ScaleFactorList' that controls the plugin windows size via code.
      Obviously, it can be changed using the floating tile dropdown but I was hoping that values can be changed without it.

      eg

      Moving between 100%, 125%, 150% etc or through whatever values have been specified.

      Is this possible?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @LeeC
        last edited by ustk

        @LeeC There's a getZoomLevel() method but not a setone...
        Shouldn't be too hard to add...

        Can't help pressing F5 in the forum...

        L 1 Reply Last reply Reply Quote 1
        • L
          LeeC @ustk
          last edited by

          If you could add something that would be great @ustk.

          I've been making good use of the 'Engine.getSystemTime()' that you implemented so thanks again for that!

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            LightandSound has a freeform resize

            Link Preview Image
            Some additions, please enjoy.

            Was mentioned in a few posts some of the things I've added people might be interested in, and since I no longer need to keep the HISE source code private and...

            favicon

            Forum (forum.hise.audio)

            L 1 Reply Last reply Reply Quote 0
            • L
              LeeC @A Former User
              last edited by LeeC

              @iamlamprey appreciate the link to that. Doesn't look like it ever got fully merged though looking at the thread and there were a few questions over stability.

              @ustk if you're still up for adding a setZoomLevel() that would be ace as it would also allow us to set a default size on initialisation (other than 100%) amongst other things.

              Cheers

              1 Reply Last reply Reply Quote 0
              • ustkU
                ustk
                last edited by ustk

                Well, I was presumptuous, it is much harder than I thought... 😰

                Can't help pressing F5 in the forum...

                L 1 Reply Last reply Reply Quote 1
                • L
                  LeeC @ustk
                  last edited by

                  @ustk "Shouldn't be too hard to add..." were the famous last words!
                  Appreciate you taking a look though 👍

                  1 Reply Last reply Reply Quote 0
                  • L
                    LeeC
                    last edited by

                    Shame that there's no way to access the Scalefactor attribute within the floating tile ☹

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

                    47

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.8k

                    Posts