diff options
| author | Jeff Carr <[email protected]> | 2019-05-29 11:48:32 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-29 11:48:32 -0700 |
| commit | 73804529267500c49f6321d2fb33c028c2c2fbef (patch) | |
| tree | 493d340e8ab90f79931599f5ce54d7b2a0731e50 /structs.go | |
| parent | d3819ea331dc12cb142b0a825f5e27b4a7441a53 (diff) | |
more dereference improvements
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -13,7 +13,7 @@ import pb "git.wit.com/wit/witProtobuf" // be the safe way to interact with the GUI // var Data GuiDataStructure -// var myAH *AreaHandler +var window1 *WindowMap type GuiDataStructure struct { State string @@ -59,15 +59,11 @@ type GuiDataStructure struct { // stuff for the splash screen / setup tabs cloudWindow *ui.Window - cloudTab *ui.Tab cloudBox *ui.Box smallBox *ui.Box myAH *AreaHandler tabcount int - - // stuff for the 'area' -// fontButton *ui.FontButton } type TableColumnData struct { @@ -98,6 +94,14 @@ type EntryMap struct { // custom func (*EntryMap) } +type WindowMap struct { + W *ui.Window + T *ui.Tab + A *ui.Area + + AH *AreaHandler +} + type ButtonMap struct { B *ui.Button FB *ui.FontButton @@ -119,8 +123,6 @@ type AreaHandler struct{ Button *ButtonMap Attrstr *ui.AttributedString Area *ui.Area -// FontButton *ui.FontButton -// FB func () *ButtonMap } // AREA STRUCTURES END |
