summaryrefslogtreecommitdiff
path: root/new-structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'new-structs.go')
-rw-r--r--new-structs.go5
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