From fd4af0e0dbdd4d8875e2d9dfb4cda84261cacaea Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 1 Jun 2019 21:15:55 -0700 Subject: spash screen works again Signed-off-by: Jeff Carr --- misc.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'misc.go') diff --git a/misc.go b/misc.go index 18d1f1a..62b6ac3 100644 --- a/misc.go +++ b/misc.go @@ -146,13 +146,11 @@ func InitTabWindow(gw *GuiWindow) { // create a 'fake' button entry for the mouse clicks var newBM GuiButton newBM.Action = "QUIT" -// newBM.W = gw.UiWindow newBM.GW = gw Data.AllButtons = append(Data.AllButtons, &newBM) gw.UiWindow.OnClosing(func(*ui.Window) bool { log.Println("InitTabWindow() OnClosing() THIS WINDOW IS CLOSING gw=", gw) - // mouseClick(&newBM) ui.Quit() return true }) @@ -163,12 +161,12 @@ func InitTabWindow(gw *GuiWindow) { log.Println("InitTabWindow() gw =", gw) - abox := gw.MakeWindow(gw) + gw.MakeWindow(gw) - gw.UiTab.Append("WIT Splash", abox.UiBox) - gw.UiTab.SetMargined(0, true) +// abox := gw.MakeWindow(gw) +// gw.UiTab.Append("WIT Splash", abox.UiBox) +// gw.UiTab.SetMargined(0, true) - Data.State = "splash" gw.UiWindow.Show() } -- cgit v1.2.3