summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-31 21:46:30 -0500
committerJeff Carr <[email protected]>2021-10-31 21:46:30 -0500
commit59d15f3fcf9799e00566aad7678f29add4e19dd4 (patch)
tree455b313557c51132455d94cafafd72d1178af842 /find.go
parentc95392d4609f06eb0b86fc6a25b93613ee3770fb (diff)
REFACTOR: remove GuiWindow & GuiBox
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'find.go')
-rw-r--r--find.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/find.go b/find.go
index 619ba36..5eb0854 100644
--- a/find.go
+++ b/find.go
@@ -17,19 +17,11 @@ func (n *Node) FindControl() *ui.Control {
return n.uiControl
}
+/*
func (w *GuiWindow) FindNode() *Node {
return w.node
}
-
-func FindWindow(s string) *GuiWindow {
- for name, window := range Data.WindowMap {
- if name == s {
- return window
- }
- }
- log.Printf("COULD NOT FIND WINDOW " + s)
- return nil
-}
+*/
func FindNode(name string) *Node {
if Data.NodeMap == nil {