diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 21:56:43 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 21:56:43 -0700 |
| commit | 4c76bfac47ff1ac0a9901e489e11c97b537168d7 (patch) | |
| tree | fe34b5e4f3a3ee5219492e4fe9d23b3c70bf66d7 /structs.go | |
| parent | 2e99dd55bd8fa57958e23085362ab401c995d8b2 (diff) | |
remove 'Action'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -60,7 +60,8 @@ type GuiData struct { // can destroy and replace it with something else // type GuiWindow struct { - Action string + Name string // field for human readable name +// Action string Width int Height int @@ -80,8 +81,8 @@ type GuiWindow struct { // GuiBox is any type of ui.Hbox or ui.Vbox // There can be lots of these for each GuiWindow type GuiBox struct { + Name string // field for human readable name Window *GuiWindow - Name string // andlabs/ui abstraction mapping UiBox *ui.Box @@ -99,8 +100,6 @@ type GuiButton struct { Custom func (*GuiButton) Values interface {} -// Action string // what type of button - // andlabs/ui abstraction mapping B *ui.Button FB *ui.FontButton @@ -108,9 +107,10 @@ type GuiButton struct { // text entry fields type GuiEntry struct { - Action string // what type of button + Name string // field for human readable name +// Action string // what type of button Edit bool - Last string // the last value + Last string // the last value Normalize func (string) string // function to 'normalize' the data B *GuiButton |
