diff options
| author | Jeff Carr <[email protected]> | 2021-10-31 23:48:34 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-31 23:48:34 -0500 |
| commit | f5440782630ef7dd2b19a8b04df260a9a87cbba8 (patch) | |
| tree | 5f9aad72a8ad729f2e0d7d714dff7459470aa3fc /new-structs.go | |
| parent | 2a6c54b785ccb7e18b586f38c73ca57197b4c733 (diff) | |
CLEAN: remove GuiButton struct
Diffstat (limited to 'new-structs.go')
| -rw-r--r-- | new-structs.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/new-structs.go b/new-structs.go index 6f222b9..8d7a203 100644 --- a/new-structs.go +++ b/new-structs.go @@ -3,6 +3,7 @@ package gui import ( "log" "fmt" + "image/color" // "reflect" // "github.com/davecgh/go-spew/spew" @@ -45,15 +46,19 @@ type Node struct { Width int Height int OnChanged func () + Color color.RGBA parent *Node children []*Node area *GuiArea custom func(*Node) + values interface {} uiControl *ui.Control uiButton *ui.Button + uiFontButton *ui.FontButton + uiColorButton *ui.ColorButton uiWindow *ui.Window uiAttrstr *ui.AttributedString uiTab *ui.Tab |
