summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-07 02:23:04 -0500
committerJeff Carr <[email protected]>2021-10-07 02:23:04 -0500
commit44b56de98421262ca10c741737faafe056470255 (patch)
tree8656afb75bf4cd6dcf8d18dc5b017b03c9163158 /structs.go
parent3252ed35f22b438c4991ee6e6d1714e884a1e41f (diff)
NODE: start populating the node tree
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index ad3307b..a7e78b5 100644
--- a/structs.go
+++ b/structs.go
@@ -35,7 +35,8 @@ type GuiData struct {
AllEntries []*GuiEntry
WindowMap map[string]*GuiWindow
- // Windows []*GuiWindow
+ // Store access to everything via binary tree's
+ NodeMap map[string]*Node
// A map of all buttons everywhere on all
// windows, all tabs, across all goroutines
@@ -45,7 +46,6 @@ type GuiData struct {
// andlabs/ui & andlabs/libui work
AllButtons []*GuiButton
buttonMap map[*ui.Button]*GuiButton
- Nodes *Node
}
type GuiTab struct {