diff options
| author | Jeff Carr <[email protected]> | 2019-05-30 11:30:08 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-30 11:30:08 -0700 |
| commit | 570cba0b613fd9e91bee7bc3162178dddfb1a5c3 (patch) | |
| tree | 86adc1c3608e1c152da6ea633c31f4ac2ae2fdcb /structs.go | |
| parent | 469c7bdd508b25577512704689fd3457aa045ce0 (diff) | |
readdy to attempt to change CreateButton()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -66,6 +66,7 @@ type GuiButton struct { W *ui.Window T *ui.Tab + Box *GuiBox AH *GuiArea // git.wit.com/wit/gui stuff @@ -78,6 +79,14 @@ type GuiButton struct { custom func (*GuiButton) } +type GuiBox struct { + W *GuiWindow + EntryMap map[string][]*GuiEntry + A *GuiArea + + UiBox *ui.Box +} + type GuiEntry struct { E *ui.Entry Edit bool @@ -96,12 +105,6 @@ type GuiEntry struct { Action string // what type of button } -type GuiBox struct { - W *GuiWindow - EntryMap map[string][]*GuiEntry - A *GuiArea -} - type GuiWindow struct { W *ui.Window T *ui.Tab |
