summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-10-20 06:55:42 -0500
committerJeff Carr <[email protected]>2022-10-20 06:55:42 -0500
commitb8ef0bb05dc14bc4291f3d156b199fa125cdb9d7 (patch)
tree71280d7f01805dfbd430f71df16858079686b8fc /node.go
parentf3af1f5b7ff78b3f73d7510622fc9633dec36d35 (diff)
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
Diffstat (limited to 'node.go')
-rw-r--r--node.go7
1 files changed, 0 insertions, 7 deletions
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
}