implemented UIEvents delegate in WindowContext
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
5
src/lib/ui/rendere/UIEventDelegate.hx
Normal file
5
src/lib/ui/rendere/UIEventDelegate.hx
Normal file
@@ -0,0 +1,5 @@
|
||||
package lib.ui.rendere;
|
||||
|
||||
interface UIEventDelegate {
|
||||
public function getEventHandlers(): UIEvents;
|
||||
}
|
||||
Reference in New Issue
Block a user