From b8ef0bb05dc14bc4291f3d156b199fa125cdb9d7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 20 Oct 2022 06:55:42 -0500 Subject: Squashed commit of the following: all non binary tree structs are gone (almost all) Use names from https://en.wikipedia.org/wiki/Graphical_widget toolkit andlabs/ui is isolated from being accessable all direct references to andlabs are removed working dropdown widgets add debugging more buttons and windows --- node.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'node.go') diff --git a/node.go b/node.go index 2c63c74..d1b172a 100644 --- a/node.go +++ b/node.go @@ -28,13 +28,6 @@ func addNode(title string, w int, h int) *Node { id := Config.prefix + strconv.Itoa(Config.counter) Config.counter += 1 n.id = id - /* - if (Data.NodeMap[title] != nil) { - panic(fmt.Sprintf("Duplicate window name = %s\n", title)) - } else { - Data.NodeMap[title] = &n - } - */ return &n } -- cgit v1.2.3