minor changes

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-22 13:12:03 -07:00
parent 75188b10ca
commit 59e1838663
2 changed files with 5 additions and 19 deletions

View File

@ -12,9 +12,6 @@ import "image/color"
import "github.com/golang/protobuf/proto"
import pb "git.wit.com/wit/witProtobuf"
// import "github.com/andlabs/ui"
// import _ "github.com/andlabs/ui/winmanifest"
import "git.wit.com/wit/gui"
var mychannel chan *pb.Event

View File

@ -19,24 +19,12 @@ var state string
func splashClose(a int, b string) {
log.Println("GOT splashClose(a,b) =", a, b)
// smallBox.Parent = nil
log.Println("cloudBox:")
log.Println("cloudBox:")
log.Println("cloudBox:")
spew.Dump(cloudBox)
log.Println("cloudBox Delete(0) START")
cloudBox.Delete(0)
// cloudBox.Delete(1)
log.Println("smallBox.Hide() START")
smallBox.Hide()
// smallBox.Parent = nil
log.Println("cloudBox:")
log.Println("cloudBox:")
log.Println("cloudBox:")
spew.Dump(cloudBox)
log.Println("smallBox:")
log.Println("smallBox:")
log.Println("smallBox:")
spew.Dump(smallBox)
// cloudBox.Destroy()
state = "kill"
}
@ -74,6 +62,7 @@ func watchGUI() {
log.Println("state = kill")
smallBox.Destroy()
state = "account1"
smallBox = nil
}
if (state == "account1") {
log.Println("Display the splash box")