From f5440782630ef7dd2b19a8b04df260a9a87cbba8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 31 Oct 2021 23:48:34 -0500 Subject: CLEAN: remove GuiButton struct --- new-structs.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'new-structs.go') 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 -- cgit v1.2.3