summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 656ece3..d4f41f2 100644
--- a/structs.go
+++ b/structs.go
@@ -64,6 +64,7 @@ type GuiWindow struct {
Width int
Height int
Axis int // does it add items to the X or Y axis
+ TabNumber int // the andlabs/ui tab index
// the callback function to make the window contents
MakeWindow func(*GuiWindow) *GuiBox
@@ -100,10 +101,12 @@ type GuiButton struct {
// a callback function for the main application
Custom func (*GuiButton)
Values interface {}
+ Color color.RGBA
// andlabs/ui abstraction mapping
B *ui.Button
FB *ui.FontButton
+ CB *ui.ColorButton
}
// text entry fields