diff options
| author | Jeff Carr <[email protected]> | 2019-05-26 14:47:30 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-26 14:47:30 -0700 |
| commit | 59629136af4b87dffc50d06144627a19fc5536e0 (patch) | |
| tree | ffc4b0d6ee39322d66bd865c60a250c4c68794e2 /structs.go | |
| parent | 80608e070dd16636780b40a8061ae6ec41e9b1f7 (diff) | |
clean up more mouse click handling. Almost finished.
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -65,8 +65,9 @@ type GuiDataStructure struct { // This is "GLOBAL" AllButtons []ButtonMap - // a tab (maybe the one the user is playing with?) // 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 // All the tabs @@ -162,6 +163,8 @@ type HumanCellData struct { TextID int Color color.RGBA ColorID int + VM *pb.Event_VM + Button *ButtonMap } type HumanMap struct { |
