From fa02db9a5ad91d98f357b5b5d3553150953a8ced Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 25 Oct 2021 09:34:31 -0500 Subject: NODE: minimal debug tab Signed-off-by: Jeff Carr --- new-structs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'new-structs.go') diff --git a/new-structs.go b/new-structs.go index e86bb53..92933ed 100644 --- a/new-structs.go +++ b/new-structs.go @@ -209,7 +209,8 @@ func (parent *Node) AddTabNode(title string, b *GuiBox) *Node { return newNode } -func (parent *Node) AddTab(title string, uiC ui.Control) *Node { +// func (parent *Node) AddTab(title string, uiC ui.Control) *Node { +func (parent *Node) AddTab(title string, uiC *ui.Box) *Node { log.Println("gui.Node.AddTab() START name =", title) if parent.uiWindow == nil { parent.Dump() @@ -243,6 +244,7 @@ func (parent *Node) AddTab(title string, uiC ui.Control) *Node { // panic("gui.AddTab() before makeNode()") newNode := parent.makeNode(title, 555, 600 + Config.counter) newNode.uiTab = tab + newNode.uiBox = uiC // panic("gui.AddTab() after makeNode()") return newNode } -- cgit v1.2.3