rm old code

This commit is contained in:
Jeff Carr 2025-03-04 14:33:53 -06:00
parent 5c033ce431
commit 5e1ec700fd
1 changed files with 0 additions and 26 deletions

View File

@ -57,26 +57,6 @@ func (me *TreeInfo) doTable(a widget.Action) {
}
}
func makeTableWindow(pb *guipb.Widget) *Node {
a := new(widget.Action)
a.WidgetType = widget.Window
a.WidgetId = int(pb.Id)
a.ParentId = 0
a.State.Enable = true
return AddNode(a)
}
func (win *Node) makeWindowGrid(pb *guipb.Widget) *Node {
a := new(widget.Action)
a.WidgetType = widget.Grid
a.WidgetId = int(pb.Id)
a.ParentId = win.WidgetId
a.State.Enable = true
return AddNode(a)
}
func (grid *Node) makeGridLabel(pb *guipb.Widget, w int, h int) *Node {
a := new(widget.Action)
a.WidgetType = widget.Label
@ -163,12 +143,6 @@ func (me *TreeInfo) updateRow(t *guipb.Table, name string) {
func (me *TreeInfo) makeTable(t *guipb.Table) {
var grid *Node
if t.Window != nil {
// deprecate this early hack
win := makeTableWindow(t.Window)
me.Add(win)
win.makeWindowGrid(t.Grid)
}
if t.Parent != nil {
a := new(widget.Action)
a.WidgetType = widget.Grid