summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-30 11:30:08 -0700
committerJeff Carr <[email protected]>2019-05-30 11:30:08 -0700
commit570cba0b613fd9e91bee7bc3162178dddfb1a5c3 (patch)
tree86adc1c3608e1c152da6ea633c31f4ac2ae2fdcb /structs.go
parent469c7bdd508b25577512704689fd3457aa045ce0 (diff)
readdy to attempt to change CreateButton()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go15
1 files changed, 9 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index b857b1d..a930047 100644
--- a/structs.go
+++ b/structs.go
@@ -66,6 +66,7 @@ type GuiButton struct {
W *ui.Window
T *ui.Tab
+ Box *GuiBox
AH *GuiArea
// git.wit.com/wit/gui stuff
@@ -78,6 +79,14 @@ type GuiButton struct {
custom func (*GuiButton)
}
+type GuiBox struct {
+ W *GuiWindow
+ EntryMap map[string][]*GuiEntry
+ A *GuiArea
+
+ UiBox *ui.Box
+}
+
type GuiEntry struct {
E *ui.Entry
Edit bool
@@ -96,12 +105,6 @@ type GuiEntry struct {
Action string // what type of button
}
-type GuiBox struct {
- W *GuiWindow
- EntryMap map[string][]*GuiEntry
- A *GuiArea
-}
-
type GuiWindow struct {
W *ui.Window
T *ui.Tab