HISE Logo Forum
    • Categories
    • Register
    • Login

    [Feature Request] GUI Scaling with window handle?

    Scheduled Pinned Locked Moved Feature Requests
    feature requestscalinggui
    15 Posts 8 Posters 1.8k 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.
    • StraticahS
      Straticah @Christoph Hart
      last edited by

      @Christoph-Hart 🖤

      building user interfaces in HISE :)
      web: www.vst-design.com

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

        @Christoph-Hart said in [Feature Request] GUI Scaling with window handle?:

        @Straticah You can use a Panel for this.

        Oh that's cool

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

        1 Reply Last reply Reply Quote 0
        • DabDabD
          DabDab
          last edited by

          Whole cursor is changed. Resize arrow on Knobs. I want only corner resize cursor change. how?

          Bollywood Music Producer and Trance Producer.

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

            @DabDab Remove the parts you don't want...

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

            1 Reply Last reply Reply Quote 0
            • MikeBM
              MikeB
              last edited by

              Is there a snippet - it doesn't work for me :-(

              "One hour of trial and error can save 10 minutes of reading the manual."
              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                It won't work in HISE but if you compile it it should work in the plugin (make sure you set the right interface size with the constants though).

                DabDabD 1 Reply Last reply Reply Quote 0
                • DabDabD
                  DabDab @Christoph Hart
                  last edited by DabDab

                  @Christoph-Hart Do I need to parent the ZoomPanel ? If I make a child of ZoomPanel knob/Slider etc cursor are also being changed to doubleArrow Cursor

                  Bollywood Music Producer and Trance Producer.

                  1 Reply Last reply Reply Quote 0
                  • DabDabD
                    DabDab
                    last edited by

                    BottomRightCornerResizeCursor where do I find all the cursor fuctions?

                    Bollywood Music Producer and Trance Producer.

                    Tania GhoshT 1 Reply Last reply Reply Quote 0
                    • Tania GhoshT
                      Tania Ghosh @DabDab
                      last edited by Tania Ghosh

                      @DabDab These are the functions

                      {
                                      "ParentCursor",               /**< Indicates that the component's parent's cursor should be used. */
                      		"NoCursor",                       /**< An invisible cursor. */
                      		"NormalCursor",                   /**< The standard arrow cursor. */
                      		"WaitCursor",                     /**< The normal hourglass or spinning-beachball 'busy' cursor. */
                      		"IBeamCursor",                    /**< A vertical I-beam for positioning within text. */
                      		"CrosshairCursor",                /**< A pair of crosshairs. */
                      		"CopyingCursor",                  /**< The normal arrow cursor, but with a "+" on it to indicate that you're dragging a copy of something. */
                      		"PointingHandCursor",             /**< A hand with a pointing finger, for clicking on web-links. */
                      		"DraggingHandCursor",             /**< An open flat hand for dragging heavy objects around. */
                      		"LeftRightResizeCursor",          /**< An arrow pointing left and right. */
                      		"UpDownResizeCursor",             /**< an arrow pointing up and down. */
                      		"UpDownLeftRightResizeCursor",    /**< An arrow pointing up, down, left and right. */
                      		"TopEdgeResizeCursor",            /**< A platform-specific cursor for resizing the top-edge of a window. */
                      		"BottomEdgeResizeCursor",         /**< A platform-specific cursor for resizing the bottom-edge of a window. */
                      		"LeftEdgeResizeCursor",           /**< A platform-specific cursor for resizing the left-edge of a window. */
                      		"RightEdgeResizeCursor",          /**< A platform-specific cursor for resizing the right-edge of a window. */
                      		"TopLeftCornerResizeCursor",      /**< A platform-specific cursor for resizing the top-left-corner of a window. */
                      		"TopRightCornerResizeCursor",     /**< A platform-specific cursor for resizing the top-right-corner of a window. */
                      		"BottomLeftCornerResizeCursor",   /**< A platform-specific cursor for resizing the bottom-left-corner of a window. */
                      		"BottomRightCornerResizeCursor"  /**< A platform-specific cursor for resizing the bottom-right-corner of a window. */
                      }
                      

                      Tania Ghosh

                      DabDabD 1 Reply Last reply Reply Quote 4
                      • DabDabD
                        DabDab @Tania Ghosh
                        last edited by

                        @Tania-Ghosh Great. thank you @Tania-Ghosh

                        Bollywood Music Producer and Trance Producer.

                        1 Reply Last reply Reply Quote 0
                        • T
                          tomekslesicki @Christoph Hart
                          last edited by tomekslesicki

                          @Christoph-Hart I just tried this and it seems like the code doesn't seem to work. Of course I’m testing on a compiled plugin. Did anyone get it working?

                          orangeO 1 Reply Last reply Reply Quote 0
                          • orangeO
                            orange @tomekslesicki
                            last edited by orange

                            @tomekslesicki said in [Feature Request] GUI Scaling with window handle?:

                            @Christoph-Hart I just tried this and it seems like the code doesn't seem to work. Of course I’m testing on a compiled plugin. Did anyone get it working?

                            Do you mean ZoomPanel? Yes it is working on the compiled plugin here. Make sure that you've allowed the callbacks on the ZoomPanel.

                            Zoom.gif

                            develop Branch / XCode 13.1
                            macOS Monterey / M1 Max

                            T 1 Reply Last reply Reply Quote 7
                            • T
                              tomekslesicki @orange
                              last edited by

                              @orange yup, that was it, thank you!

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

                              23

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.5k

                              Posts