parent
59c75bef00
commit
0405ab64a4
|
@ -10,15 +10,6 @@ import (
|
|||
var myGui *gui.Node
|
||||
var mainWindow *gui.Node
|
||||
|
||||
func initGUI() {
|
||||
myGui = gui.New().LoadToolkit("gocui")
|
||||
mainWindow = myGui.NewWindow("wit new machine setup").SetText("wit new machine setup")
|
||||
|
||||
mainWindow.Custom = customExit
|
||||
|
||||
mainTab(mainWindow)
|
||||
}
|
||||
|
||||
func customExit() {
|
||||
log.Println("Should Exit Here")
|
||||
// window := gui.Data.WindowMap["Debugging2"]
|
||||
|
@ -40,10 +31,14 @@ func writeRes(indir string, outdir string, name string) {
|
|||
ioutil.WriteFile(outdir + name, tmp, 0644)
|
||||
}
|
||||
|
||||
func mainTab(n *gui.Node) {
|
||||
// myGui = gui.New().LoadToolkit("gocui")
|
||||
func drawWindow() {
|
||||
var g *gui.Node
|
||||
|
||||
newTab := n.NewTab("mainTab")
|
||||
mainWindow = myGui.NewWindow("wit new machine setup").SetText("wit new machine setup")
|
||||
mainWindow.Custom = customExit
|
||||
|
||||
newTab := mainWindow.NewTab("mainTab")
|
||||
|
||||
//////////////////// General GUI debugging /////////////////////////
|
||||
g = newTab.NewGroup("Debug")
|
Loading…
Reference in New Issue