summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-03 15:45:40 -0700
committerJeff Carr <[email protected]>2019-06-03 15:45:40 -0700
commit50c6e6c07d12841370a0830d79a7b74b974a20f8 (patch)
treef0f3a0be66223123151ab7faf0b8c71a6ebdfdf4 /structs.go
parent6b5c78fbe96b2b23e38267ee0d495440baf113c1 (diff)
make a WindowMap to track which windows exist
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index a074e56..aae0b7f 100644
--- a/structs.go
+++ b/structs.go
@@ -29,6 +29,7 @@ type GuiData struct {
// A map of all the entry boxes
AllEntries []*GuiEntry
Windows []*GuiWindow
+ WindowMap map[string]*GuiWindow
// A map of all buttons everywhere on all
// windows, all tabs, across all goroutines