spawns a second window (but segfaults if you close it)
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d207507bc3
commit
7570bf6e27
|
@ -11,6 +11,9 @@ import "strconv"
|
|||
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
|
||||
|
@ -26,6 +29,7 @@ func processEvents() {
|
|||
log.Println("processEvents() on channel recieved a message = ", message)
|
||||
if (message.Type == pb.Event_DEMO) {
|
||||
log.Println("processEvents() do Event DEMO")
|
||||
go ui.Main(gui.SetupDemoUI)
|
||||
} else {
|
||||
mh := addVmsTab(30)
|
||||
ReadReceivedData(message, mh)
|
||||
|
|
Loading…
Reference in New Issue