From 764513474f7f03ccc7be5369a8ea6e7bcbff9071 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 31 Oct 2021 19:52:18 -0500 Subject: BOX: remove GuiBox Signed-off-by: Jeff Carr --- find.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'find.go') diff --git a/find.go b/find.go index e046161..7323596 100644 --- a/find.go +++ b/find.go @@ -17,6 +17,7 @@ func (n *Node) FindControl() *ui.Control { return n.uiControl } +/* func (n *Node) FindBox() *GuiBox { if (n.box != nil) { return n.box @@ -34,11 +35,13 @@ func (n *Node) FindWindowBox() *GuiBox { } return n.box } +*/ func (w *GuiWindow) FindNode() *Node { return w.node } +/* func (b *GuiBox) FindNode() *Node { log.Println("gui.FindNode() on GuiBox") if b.node != nil { @@ -50,6 +53,7 @@ func (b *GuiBox) FindNode() *Node { os.Exit(-1) return nil } +*/ func FindWindow(s string) *GuiWindow { for name, window := range Data.WindowMap { -- cgit v1.2.3