summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-27 10:55:10 -0700
committerJeff Carr <[email protected]>2019-05-27 10:55:10 -0700
commit00ffa4755db5e3c09a0a47d454c749a859e40598 (patch)
tree5dd9776a494bbbb73587a74f1611a47b6bfbabdd /structs.go
parente23138d675243828d8982631deb69d200572b184 (diff)
more tab tracking
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/structs.go b/structs.go
index d28d3c9..b77aa76 100644
--- a/structs.go
+++ b/structs.go
@@ -15,16 +15,13 @@ import pb "git.wit.com/wit/witProtobuf"
var Data GuiDataStructure
var myAH areaHandler
+/*
type GuiTabStructure struct {
me *ui.Tab
parentWindow *ui.Window
firstBox *ui.Box
tabOffset int
- EntryNick *ui.Entry
- EntryUser *ui.Entry
- EntryPass *ui.Entry
-
// this means only one table per tab
mh *TableData
@@ -34,6 +31,7 @@ type GuiTabStructure struct {
attrstr *ui.AttributedString
splashArea *ui.Area
}
+*/
type GuiDataStructure struct {
State string
@@ -71,7 +69,11 @@ type GuiDataStructure struct {
CurrentVM *pb.Event_VM
// All the tabs
- Tabs []GuiTabStructure
+// Tabs []GuiTabStructure
+
+ EntryNick *ui.Entry
+ EntryUser *ui.Entry
+ EntryPass *ui.Entry
// stuff for the splash screen / setup tabs
cloudWindow *ui.Window