mach: add setCursorMode (desktop only for now)

This commit is contained in:
Martin Wickham 2022-10-13 09:28:26 -05:00 committed by Stephen Gutekanst
parent 2c65845aed
commit 78dfa2df6b
5 changed files with 31 additions and 0 deletions

View file

@ -20,6 +20,7 @@ fn Interface(comptime T: type) type {
assertHasDecl(T.Platform, "getFramebufferSize");
assertHasDecl(T.Platform, "getWindowSize");
assertHasDecl(T.Platform, "setMouseCursor");
assertHasDecl(T.Platform, "setCursorMode");
assertHasDecl(T.Platform, "hasEvent");
assertHasDecl(T.Platform, "pollEvent");
assertHasDecl(T.BackingTimer, "start");