DlangUI is free (Boost license) widget set created in D language (dlang). You can get it from dub repository.
Features:
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 |
Arrow | default arrow |
IBeam | edit cursor |
Wait | hourglass |
Crosshair | gunpoint |
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 |
No | slashed circle |
Hand | hand |
For example:
window.overrideCursorType = CursorType.Wait;
// some work
window.overrideCursorType = CursorType.NotSet;
Breaking changes:
The CursorType.Parent constant has been changed to CursorType.NotSet due to the addition of the cursor change functionality for the entire window.
Fixed bugs:
- Fixed copying text from clipboard on windows with SDL2 backend adds squares in EditBox.