Merge pull request #237 from JupiterRider/master

Mouse Cursor Enum added
This commit is contained in:
Milan Nikolic 2023-01-19 17:34:14 +01:00 committed by GitHub
commit 8344ddbee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1218,3 +1218,20 @@ const (
// Disable logging // Disable logging
LogNone LogNone
) )
// Mouse cursor
type MouseCursor = int32
const (
MouseCursorDefault MouseCursor = iota // Default pointer shape
MouseCursorArrow // Arrow shape
MouseCursorIBeam // Text writing cursor shape
MouseCursorCrosshair // Cross shape
MouseCursorPointingHand // Pointing hand cursor
MouseCursorResizeEW // Horizontal resize/move arrow shape
MouseCursorResizeNS // Vertical resize/move arrow shape
MouseCursorResizeNWSE // Top-left to bottom-right diagonal resize/move arrow shape
MouseCursorResizeNESW // The top-right to bottom-left diagonal resize/move arrow shape
MouseCursorResizeAll // The omni-directional resize/move cursor shape
MouseCursorNotAllowed // The operation-not-allowed shape
)