From c7402944c58285a3fd38b2b4678fdc97ada768a2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 2 Jun 2019 13:40:44 -0700 Subject: finally cleaned out all protobuf references this effort is almost done being 'cleaned' of the code I started with. This library is not perfect and lacks features from andlabs/ui but it will work for our purposes Signed-off-by: Jeff Carr --- debug.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debug.go') diff --git a/debug.go b/debug.go index daf3143..8920b5e 100644 --- a/debug.go +++ b/debug.go @@ -3,7 +3,7 @@ package gui import "log" import "time" import "fmt" -import "reflect" +// import "reflect" // import "github.com/andlabs/ui" // import _ "github.com/andlabs/ui/winmanifest" @@ -24,7 +24,8 @@ func WatchGUI() { for i, window := range Data.Windows { log.Println("watchGUI() Data.Windows", i, "Action =", window.Action) for name, abox := range window.BoxMap { - log.Println("\twatchGUI() BOX name =", name) + log.Printf("\twatchGUI() BOX mapname=%-12s abox.Name=%-12s", name, abox.Name) + /* if (name == "SplashArea3") { log.Println("\t\twatchGUI() BOX abox =", reflect.TypeOf(abox)) win := abox.Window @@ -36,6 +37,7 @@ func WatchGUI() { // time.Sleep(2000 * time.Millisecond) // os.Exit(0) } + */ } } count = 0 -- cgit v1.2.3