summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-31 19:52:18 -0500
committerJeff Carr <[email protected]>2021-10-31 19:52:18 -0500
commit764513474f7f03ccc7be5369a8ea6e7bcbff9071 (patch)
tree9b6ae37e6ed2b46cf0ac963e47a037faba74e9e0 /find.go
parent895fc511d7f96a27b27efea995d3971a2419a7be (diff)
BOX: remove GuiBox
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'find.go')
-rw-r--r--find.go4
1 files changed, 4 insertions, 0 deletions
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 {