diff options
| author | Jeff Carr <[email protected]> | 2019-05-30 08:52:28 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-30 08:52:28 -0700 |
| commit | 5ad5afee4d9cc4b6abb527ded4ff321807af2f0f (patch) | |
| tree | 9cac839bf13298571f6c499ada0505534b8fe3e0 /structs.go | |
| parent | 64472bd95f494cf70f1a64f2bcb1269679063e92 (diff) | |
start fixing variable names
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -46,9 +46,9 @@ type GuiData struct { AllButtons []ButtonMap // A map of all the entry boxes - AllEntries []EntryMap + AllEntries []*GuiEntry - Windows []*WindowMap + Windows []*GuiWindow EntryNick *ui.Entry EntryUser *ui.Entry @@ -62,7 +62,7 @@ type TableColumnData struct { Color string } -type EntryMap struct { +type GuiEntry struct { E *ui.Entry Edit bool Last string // the last value @@ -80,12 +80,14 @@ type EntryMap struct { Action string // what type of button } -type WindowMap struct { +type GuiWindow struct { W *ui.Window T *ui.Tab Box1 *ui.Box Box2 *ui.Box + EntryMap map[string][]*GuiEntry + C *pb.Config AH *AreaHandler @@ -110,7 +112,7 @@ type ButtonMap struct { AH *AreaHandler // git.wit.com/wit/gui stuff - WM *WindowMap + WM *GuiWindow Account *pb.Account VM *pb.Event_VM Action string // what type of button @@ -125,7 +127,7 @@ type AreaHandler struct{ Button *ButtonMap Attrstr *ui.AttributedString Area *ui.Area - WM *WindowMap + WM *GuiWindow } // AREA STRUCTURES END |
