From 44b56de98421262ca10c741737faafe056470255 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Oct 2021 02:23:04 -0500 Subject: NODE: start populating the node tree --- structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'structs.go') 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 { -- cgit v1.2.3