From 4c76bfac47ff1ac0a9901e489e11c97b537168d7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 2 Jun 2019 21:56:43 -0700 Subject: remove 'Action' Signed-off-by: Jeff Carr --- structs.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 1ef8513..ec5c04e 100644 --- a/structs.go +++ b/structs.go @@ -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 -- cgit v1.2.3