diff --git a/gui-debug.go b/gui-debug.go index ad3a827..bd8d7f3 100644 --- a/gui-debug.go +++ b/gui-debug.go @@ -22,7 +22,7 @@ func debugClick(b *gui.GuiButton) { box := gui.InitWindow(gw, "Debugging", gui.Yaxis) if (box == nil) { return } gw = box.Window - log.Println("debugClick() initWindow() END") + log.Println("debugClick() InitWindow() END") makeButton(box, nil, nil, "empty", "SUBDOMAIN", nil) gui.HorizontalBreak(box) diff --git a/gui-splash.go b/gui-splash.go index f4e9df1..04f4351 100644 --- a/gui-splash.go +++ b/gui-splash.go @@ -11,11 +11,17 @@ import _ "github.com/andlabs/ui/winmanifest" // import pb "git.wit.com/wit/witProtobuf" -func showSplashBox(gw *gui.GuiWindow) *gui.GuiBox { +func showSplashBox(box *gui.GuiBox) *gui.GuiBox { log.Println("ShowSplashBox() START") text := getNEWTEXT() + + // hardXbox := gui.HardBox(box.Window, gui.Xaxis, "jcarr test") // TODO: turn 'Welcome' into a i18n for translations - box := gui.ShowTextBox(gw, text, splashClick, "Welcome") + gui.ShowTextBox(box, text, splashClick, "Welcome") + // gui.ShowTextBox(hardXbox, text, splashClick, "Welcome") + + gui.HorizontalBreak(box) + gui.NewLabel(box, "jcarr test2") if runtime.GOOS == "linux" { gui.NewLabel(box,"OS: Linux")