summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go27
1 files changed, 11 insertions, 16 deletions
diff --git a/main.go b/main.go
index eaf3244..b5f7998 100644
--- a/main.go
+++ b/main.go
@@ -58,10 +58,6 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
//////////////////////// window debugging things //////////////////////////////////
gr = newB.NewGroup("list things")
- gr.NewButton("List toolkits", func() {
- dropdownWindow(gr)
- bugWin.ListToolkits()
- })
gr.NewButton("List Windows", func() {
dropdownWindow(gr)
})
@@ -69,8 +65,6 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
dropdownWindowWidgets(gr)
})
- gr = newB.NewGroup("more things")
-
gr.NewButton("Node.ListChildren(true)", func() {
if activeWidget == nil {
activeWidget = bugWin
@@ -78,18 +72,15 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
activeWidget.ListChildren(true)
})
- gr.NewButton("test conc", func() {
- log.Log(WARN, "TODO: fix me")
- // makeConc()
+ gr = newB.NewGroup("plugins")
+
+
+ gr.NewButton("List Toolkits", func() {
+ me.treeRoot.ListToolkits()
})
- gr.NewButton("List Plugins", func() {
- log.Log(WARN, "TODO: fix me")
- /*
- for _, aplug := range allPlugins {
- log.Log(true, "Loaded plugin:", aplug.name, aplug.filename)
- }
- */
+ gr.NewButton("load toolkit 'nocui'", func() {
+ bugWin.LoadToolkit("nocui")
})
gr.NewButton("load toolkit 'gocui'", func() {
@@ -122,6 +113,10 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
me.gochan.Toggle()
}
})
+ gr.NewButton("test conc", func() {
+ log.Log(WARN, "TODO: fix me")
+ // makeConc()
+ })
return newB
}