From 4e7bbd89900a733593f0848778103c1cf1a7145d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 1 Jan 2024 15:43:50 -0600 Subject: reorg to final resting place at go.wit.com/gui/gui Signed-off-by: Jeff Carr --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 3254d0a..c92cddf 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package gui import ( "os" "time" - "go.wit.com/gui/toolkit" + "go.wit.com/gui/gui/toolkit" ) // TODO: make a fake 'plugin' channel of communication to andlabs for mswindows @@ -15,7 +15,7 @@ const Xaxis = 0 // stack things horizontally const Yaxis = 1 // stack things vertically func init() { - log("init() has been run") + log(true, "init() has been run") me.counter = 0 me.prefix = "wit" @@ -175,10 +175,10 @@ func (n *Node) StandardClose() { // The window is destroyed and the application exits // TODO: properly exit the plugin since Quit() doesn't do it func StandardExit() { - log("wit/gui Standard Window Exit. running os.Exit()") - log("StandardExit() attempt to exit each toolkit plugin") + log(true, "wit/gui Standard Window Exit. running os.Exit()") + log(true, "StandardExit() attempt to exit each toolkit plugin") for i, plug := range allPlugins { - log("NewButton()", i, plug) + log(true, "NewButton()", i, plug) } exit(0) } -- cgit v1.2.3