diff options
| author | Jeff Carr <[email protected]> | 2024-01-27 09:04:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-27 09:04:00 -0600 |
| commit | 55ec876954d861f406d084f602fceaacb35d7181 (patch) | |
| tree | 7a4711811eb92e257e666653e66f7993490a66b4 | |
| parent | 1e7f6e118e5f42027d34d19e9db56a2a8b174253 (diff) | |
nocui works
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | main.go | 27 |
1 files changed, 11 insertions, 16 deletions
@@ -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 } |
