diff options
| author | Jeff Carr <[email protected]> | 2021-10-25 06:50:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-25 06:50:27 -0500 |
| commit | c8e32a0980e984deb04dc9688f422b9108783cda (patch) | |
| tree | 4db0145ae38fee8997d67dc6891a3623b56b285a /new-structs.go | |
| parent | 9460526eadccf3f4a8f8eccdf6acbeaa6ca35bef (diff) | |
REORG: move more find() functions into find.go
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new-structs.go')
| -rw-r--r-- | new-structs.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/new-structs.go b/new-structs.go index 7cd6d90..d50de32 100644 --- a/new-structs.go +++ b/new-structs.go @@ -106,25 +106,6 @@ func (n *Node) SetName(name string) { return } -func (n *Node) FindTab() *ui.Tab { - return n.uiTab -} - -func (n *Node) FindControl() *ui.Control { - return n.uiControl -} - -func (n *Node) FindBox() *GuiBox { - return n.box -} - -func (n *Node) FindWindowBox() *GuiBox { - if (n.box == nil) { - panic("SERIOUS ERROR n.box == nil in FindWindowBox()") - } - return n.box -} - func (n *Node) Append(child *Node) { // if (n.UiBox == nil) { // return |
