Change the cursor for the entire window
Previous versions of dlangui did not allow to change the cursor for the entire window, eg for an hourglass during calculations. Version 0.9.176 adds the overrideCursorType property in the Window class. When its value is different than CursorType.NotSet overrides the widget cursor setting.
Currently, in DlangUI we can set the following cursors:
|None||do not display cursor|
|NotSet||when set in widget means to use parent’s cursor, in Window.overrideCursorType() disable overriding|
|WaitArrow||arrow with hourglass|
|SizeNWSE||2 arrows pointing northwest and southeast|
|SizeNESW||2 arrows pointing northeast and southwest|
|SizeWE||2 arrows pointing west and east|
|SizeNS||2 arrows pointing north and south|
|SizeAll||4 arrows pointing north, south, east, and west|
The CursorType.Parent constant has been changed to CursorType.NotSet due to the addition of the cursor change functionality for the entire window.
- Fixed copying text from clipboard on windows with SDL2 backend adds squares in EditBox.