remove an unused function
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
1e28641cde
commit
2ce5732053
29
box.go
29
box.go
|
@ -128,32 +128,3 @@ func VerticalBreak(box *GuiBox) {
|
||||||
tmp := ui.NewVerticalSeparator()
|
tmp := ui.NewVerticalSeparator()
|
||||||
box.UiBox.Append(tmp, false)
|
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
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in New Issue