diff options
Diffstat (limited to 'main.go')
| -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  }  | 
