summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /main.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 5 insertions, 5 deletions
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)
}