Window event callbacks now take a WindowEventContext

Improved event example
This commit is contained in:
Lea Anthony
2023-02-12 07:58:14 +11:00
parent a2528fd066
commit 23bfeac02a
4 changed files with 21 additions and 12 deletions
@@ -0,0 +1,14 @@
package application
var blankWindowEventContext = &WindowEventContext{}
type WindowEventContext struct {
// contains filtered or unexported fields
data map[string]any
}
func newWindowEventContext() *Context {
return &Context{
data: make(map[string]any),
}
}