parent
75188b10ca
commit
59e1838663
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue