mach: add setCursorMode (desktop only for now)
This commit is contained in:
parent
2c65845aed
commit
78dfa2df6b
5 changed files with 31 additions and 0 deletions
|
|
@ -123,6 +123,10 @@ pub const Platform = struct {
|
|||
js.machSetMouseCursor(cursor_name.ptr, cursor_name.len);
|
||||
}
|
||||
|
||||
pub fn setCursorMode(_: *Platform, _: enums.CursorMode) !void {
|
||||
@panic("TODO: Implement setCursorMode for wasm");
|
||||
}
|
||||
|
||||
fn pollChanges(platform: *Platform) void {
|
||||
const change_type = js.machChangeShift();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue