mach: mouse cursor support (#352)

adds mouse cursor support for standard cursors

Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
This commit is contained in:
David Vanderson 2022-06-16 00:53:55 -04:00 committed by GitHub
parent f5affbe7ae
commit 43bff35d2c
Failed to generate hash of commit
5 changed files with 87 additions and 0 deletions

View file

@ -20,6 +20,19 @@ pub const VSyncMode = enum {
triple,
};
pub const MouseCursor = enum {
arrow,
ibeam,
crosshair,
pointing_hand,
resize_ew,
resize_ns,
resize_nwse,
resize_nesw,
resize_all,
not_allowed,
};
pub const MouseButton = enum {
left,
right,