implemented UIEvents delegate in WindowContext

This commit is contained in:
2023-01-30 16:44:17 +01:00
parent a1ce5957d1
commit 8f7739c26a
4 changed files with 65 additions and 8 deletions

View File

@@ -13,4 +13,5 @@ typedef UIEvents = {
public var ?onMouseScroll:Callback<{dir:Int, pos:Pos}>;
public var ?onMouseUp:Callback<{button:ButtonType, pos:Pos}>;
public var ?onPaste:Callback<String>;
public var ?onChar:Callback<String>;
}