parent
1e7f6e118e
commit
55ec876954
27
main.go
27
main.go
|
@ -58,10 +58,6 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
|
||||||
//////////////////////// window debugging things //////////////////////////////////
|
//////////////////////// window debugging things //////////////////////////////////
|
||||||
gr = newB.NewGroup("list things")
|
gr = newB.NewGroup("list things")
|
||||||
|
|
||||||
gr.NewButton("List toolkits", func() {
|
|
||||||
dropdownWindow(gr)
|
|
||||||
bugWin.ListToolkits()
|
|
||||||
})
|
|
||||||
gr.NewButton("List Windows", func() {
|
gr.NewButton("List Windows", func() {
|
||||||
dropdownWindow(gr)
|
dropdownWindow(gr)
|
||||||
})
|
})
|
||||||
|
@ -69,8 +65,6 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
|
||||||
dropdownWindowWidgets(gr)
|
dropdownWindowWidgets(gr)
|
||||||
})
|
})
|
||||||
|
|
||||||
gr = newB.NewGroup("more things")
|
|
||||||
|
|
||||||
gr.NewButton("Node.ListChildren(true)", func() {
|
gr.NewButton("Node.ListChildren(true)", func() {
|
||||||
if activeWidget == nil {
|
if activeWidget == nil {
|
||||||
activeWidget = bugWin
|
activeWidget = bugWin
|
||||||
|
@ -78,18 +72,15 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
|
||||||
activeWidget.ListChildren(true)
|
activeWidget.ListChildren(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
gr.NewButton("test conc", func() {
|
gr = newB.NewGroup("plugins")
|
||||||
log.Log(WARN, "TODO: fix me")
|
|
||||||
// makeConc()
|
|
||||||
|
gr.NewButton("List Toolkits", func() {
|
||||||
|
me.treeRoot.ListToolkits()
|
||||||
})
|
})
|
||||||
|
|
||||||
gr.NewButton("List Plugins", func() {
|
gr.NewButton("load toolkit 'nocui'", func() {
|
||||||
log.Log(WARN, "TODO: fix me")
|
bugWin.LoadToolkit("nocui")
|
||||||
/*
|
|
||||||
for _, aplug := range allPlugins {
|
|
||||||
log.Log(true, "Loaded plugin:", aplug.name, aplug.filename)
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
})
|
})
|
||||||
|
|
||||||
gr.NewButton("load toolkit 'gocui'", func() {
|
gr.NewButton("load toolkit 'gocui'", func() {
|
||||||
|
@ -122,6 +113,10 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
|
||||||
me.gochan.Toggle()
|
me.gochan.Toggle()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
gr.NewButton("test conc", func() {
|
||||||
|
log.Log(WARN, "TODO: fix me")
|
||||||
|
// makeConc()
|
||||||
|
})
|
||||||
|
|
||||||
return newB
|
return newB
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue