From 0ddfafec500d91777fe44791670afc250701b765 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 May 2019 21:05:13 -0700 Subject: [PATCH] more simple ui.Window create() Signed-off-by: Jeff Carr --- test4/main.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test4/main.go b/test4/main.go index 4b64686..fc9dca5 100644 --- a/test4/main.go +++ b/test4/main.go @@ -17,11 +17,8 @@ func main() { gui.Data.MouseClick = mainMouseClick for { - gui.InitNewWindow(c, "SPLASH") - gui.ShowWindow() - - gui.InitNewWindow(c, "BLAH") - gui.ShowWindow() + gui.StartNewWindow(c, "SPLASH") + gui.StartNewWindow(c, "BLAH") } }