diff options
| author | Jeff Carr <[email protected]> | 2019-05-29 22:24:41 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-29 22:24:41 -0700 |
| commit | 5b25c0a80b2183c66e85ed437f1fb3b7409933b1 (patch) | |
| tree | 83e97fa714cc7e07f78aabab35beb5007fa4c135 /structs.go | |
| parent | 264e8101e9ae870d107a067ab9f9bdc71fc1cc6c (diff) | |
better StartNewWindow() function
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -13,9 +13,9 @@ import pb "git.wit.com/wit/witProtobuf" // If you need cross platform support, these might only // be the safe way to interact with the GUI // -var Data GuiDataStructure +var Data GuiData -type GuiDataStructure struct { +type GuiData struct { State string Width int Height int @@ -48,15 +48,7 @@ type GuiDataStructure struct { // A map of all the entry boxes AllEntries []EntryMap - // a VM (maybe the one the user is playing with?) - // if opening a new window, this is a trick to - // pass it in - CurrentVM *pb.Event_VM - Windows []*WindowMap - NewWindow int -// Window1 *WindowMap - Window2 *WindowMap EntryNick *ui.Entry EntryUser *ui.Entry @@ -97,7 +89,6 @@ type WindowMap struct { C *pb.Config AH *AreaHandler -// AreaText *ui.AttributedString Action string } |
