diff options
| author | Jeff Carr <[email protected]> | 2022-10-20 06:55:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-10-20 06:55:42 -0500 |
| commit | b8ef0bb05dc14bc4291f3d156b199fa125cdb9d7 (patch) | |
| tree | 71280d7f01805dfbd430f71df16858079686b8fc /node.go | |
| parent | f3af1f5b7ff78b3f73d7510622fc9633dec36d35 (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.go | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 } |
