diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 15:19:53 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 15:19:53 -0700 |
| commit | d6cc47ab94bf294b69116f9479b49f0302bfc7b5 (patch) | |
| tree | d6652d07ea5c1a9a004caa110848d1a509aad54f /structs.go | |
| parent | 16008fefad4573af5e0c5bc9909f0e5114863ec6 (diff) | |
almost complete 'CLEAN'. yet more code refactoring
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -8,8 +8,6 @@ import _ "github.com/andlabs/ui/winmanifest" import pb "git.wit.com/wit/witProtobuf" -// THIS IS CLEAN - // // All GUI Data Structures and functions that are external // If you need cross platform support, these might only @@ -110,15 +108,16 @@ type GuiBox struct { // the user clicks it. You could probably // call this 'GuiMouseClick' type GuiButton struct { + Name string // field for human readable name Action string // what type of button Box *GuiBox // what box the button click was in - GW *GuiWindow // what window the button click was in (redundant?) +// GW *GuiWindow // what window the button click was in (redundant?) Account *pb.Account // associated with what account? VM *pb.Event_VM // associated with which VM? // a callback function for the main application - custom func (*GuiButton) + Custom func (*GuiButton) // andlabs/ui abstraction mapping B *ui.Button |
