[Feature Request] GUI Scaling with window handle?
-
@DabDab Remove the parts you don't want...
-
Is there a snippet - it doesn't work for me :-(
-
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).
-
@Christoph-Hart Do I need to parent the
ZoomPanel
? If I make a child ofZoomPanel
knob/Slider etc cursor are also being changed to doubleArrow Cursor -
BottomRightCornerResizeCursor
where do I find all the cursor fuctions? -
@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 Great. thank you @Tania-Ghosh
-
@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?
-
@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.
-
@orange yup, that was it, thank you!