How to write your own angle / pen changes for NSWindow?

How can I write my own angle / resize knob for NSWindow? I use a NSWindow subclass without a default resize angle, but I need this for my window.

alt text

+3
source share
1 answer

Main circuit:

  • Create a view.
  • Place the drag and drop indicator corresponding to your window in the view.
  • Ask the drag effect handler to resize the window so that this corner is now in the current position of the mouse.
+2
source

Source: https://habr.com/ru/post/1784604/


All Articles