diff options
| author | Jeff Carr <[email protected]> | 2021-10-31 21:46:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-31 21:46:30 -0500 |
| commit | 59d15f3fcf9799e00566aad7678f29add4e19dd4 (patch) | |
| tree | 455b313557c51132455d94cafafd72d1178af842 /find.go | |
| parent | c95392d4609f06eb0b86fc6a25b93613ee3770fb (diff) | |
REFACTOR: remove GuiWindow & GuiBox
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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 { |
