core: darwin: implement cursor_mode and cursor_shape updates

This commit is contained in:
foxnne 2024-12-12 15:06:18 -06:00 committed by Emi Gutekanst
parent 60a68a7453
commit a85916f00f
2 changed files with 27 additions and 0 deletions

View file

@ -56,6 +56,7 @@ windows: mach.Objects(
/// Vertical sync mode, prevents screen tearing.
vsync_mode: VSyncMode = .none,
/// Window display mode: fullscreen, windowed or borderless fullscreen
display_mode: DisplayMode = .windowed,
/// Cursor
@ -108,6 +109,7 @@ windows: mach.Objects(
.render_attachment = true,
},
/// Container for native platform-specific information
native: ?Platform.Native = null,
},
),