diff options
| author | Jeff Carr <[email protected]> | 2021-10-31 15:46:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-31 15:46:31 -0500 |
| commit | 7a9bcbd89c1237aad4740ca0b981248ffc2bccc0 (patch) | |
| tree | 898fba8863e1470614f7dbda4949b0a5965582de /new-structs.go | |
| parent | 213c7d153b06d3e1211d1cdeae1e4f7833cb89f7 (diff) | |
TEXT: fix OnChanged() handling
Diffstat (limited to 'new-structs.go')
| -rw-r--r-- | new-structs.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/new-structs.go b/new-structs.go index 4f9989e..b75fe0b 100644 --- a/new-structs.go +++ b/new-structs.go @@ -44,6 +44,7 @@ type Node struct { Name string Width int Height int + OnChanged func () parent *Node children []*Node @@ -73,6 +74,7 @@ func (n *Node) Dump() { log.Println("gui.Node.Dump() Name = ", n.Name) log.Println("gui.Node.Dump() Width = ", n.Width) log.Println("gui.Node.Dump() Height = ", n.Height) + log.Println("gui.Node.Dump() OnChanged = ", n.OnChanged) if (n.parent == nil) { log.Println("gui.Node.Dump() parent = nil") @@ -89,6 +91,7 @@ func (n *Node) Dump() { log.Println("gui.Node.Dump() uiBox = ", n.uiBox) log.Println("gui.Node.Dump() uiControl = ", n.uiControl) log.Println("gui.Node.Dump() uiButton = ", n.uiButton) + log.Println("gui.Node.Dump() uiText = ", n.uiText) if (n.id == "") { panic("gui.Node.Dump() id == nil") } |
