remove an unused function

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-03 04:55:13 -07:00
parent 1e28641cde
commit 2ce5732053
1 changed files with 0 additions and 29 deletions

29
box.go
View File

@ -128,32 +128,3 @@ func VerticalBreak(box *GuiBox) {
tmp := ui.NewVerticalSeparator()
box.UiBox.Append(tmp, false)
}
/*
func AddGenericBox(gw *GuiWindow, name string) *GuiBox {
log.Println("AddGenericBox() START name =", name)
// create a new vertical box off of the mainbox
vbox := ui.NewVerticalBox()
vbox.SetPadded(true)
var newbox *GuiBox
newbox = new(GuiBox)
newbox.UiBox = vbox
newbox.Window = gw
newbox.Name = name
add(gw.BoxMap["MAINBOX"], newbox)
// create a new horizonal box off of the vertical box
hbox := ui.NewHorizontalBox()
hbox.SetPadded(true)
var newhbox *GuiBox
newhbox = new(GuiBox)
newhbox.UiBox = hbox
newhbox.Window = gw
newhbox.Name = "Hbox1"
add(newbox, newhbox)
return newbox
}
*/