diff options
| author | Jeff Carr <[email protected]> | 2019-05-25 22:07:37 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-25 22:07:37 -0700 |
| commit | 458e0f71397857899c295f805521bce1fb065701 (patch) | |
| tree | 76d29a8cca3999e575aeb54f568783983e3ae03e /structs.go | |
| parent | 8fe85f0af271c8cbfa4e5735f7136923dab357f8 (diff) | |
make fake buttonmap for Area
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -13,6 +13,7 @@ import pb "git.wit.com/wit/witProtobuf" // be the safe way to interact with the GUI // var Data GuiDataStructure +var myAH areaHandler type GuiTabStructure struct { me *ui.Tab @@ -68,14 +69,12 @@ type GuiDataStructure struct { // a tab (maybe the one the user is playing with?) CurrentTab *GuiTabStructure // a VM (maybe the one the user is playing with?) -// CurrentVM string CurrentVM *pb.Event_VM // All the tabs Tabs []GuiTabStructure // stuff for the splash screen / setup tabs - // MainWindow *ui.Window cloudWindow *ui.Window cloudTab *ui.Tab cloudBox *ui.Box @@ -102,6 +101,7 @@ type TableColumnData struct { type ButtonMap struct { B *ui.Button FB *ui.FontButton + A *ui.Area Account *pb.Account VM *pb.Event_VM Action string // what type of button @@ -110,6 +110,15 @@ type ButtonMap struct { custom func (*ButtonMap) } + +// AREA STRUCTURES START +type areaHandler struct{ + // buttonFunc func(int, int) + // closeFunc func(int) + button *ButtonMap +} +// AREA STRUCTURES END + // // TABLE DATA STRUCTURES START // |
