remove old test code

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-26 14:12:38 -07:00
parent e6d49b94ed
commit 80608e070d
3 changed files with 1 additions and 6 deletions

2
gui.go
View File

@ -194,7 +194,7 @@ func CreateButton(a *pb.Account, vm *pb.Event_VM,
newmap.VM = vm
newmap.Action = action
newmap.custom = custom
newmap.aTab = Data.CurrentTab
// newmap.aTab = Data.CurrentTab
Data.AllButtons = append(Data.AllButtons, newmap)
return newB

View File

@ -178,7 +178,6 @@ func ShowAccountTab() {
// Create the things for the Account Tab
var aTab GuiTabStructure
Data.CurrentTab = &aTab
AddAccountBox(&aTab)
// Set the parents and data structure links
@ -186,7 +185,6 @@ func ShowAccountTab() {
aTab.parentWindow = Data.cloudWindow
aTab.tabOffset = 0
// Data.smallBox = aTab.firstBox
Data.cloudTab.InsertAt("Add Account", 0, aTab.firstBox)
Data.cloudTab.SetMargined(0, true)
}

View File

@ -59,7 +59,6 @@ type GuiDataStructure struct {
// account entry textboxes
Config *pb.Config
Current *pb.Account
// A map of all buttons everywhere on all
// windows, all tabs, across all goroutines
@ -67,7 +66,6 @@ type GuiDataStructure struct {
AllButtons []ButtonMap
// a tab (maybe the one the user is playing with?)
CurrentTab *GuiTabStructure
// a VM (maybe the one the user is playing with?)
CurrentVM *pb.Event_VM
@ -105,7 +103,6 @@ type ButtonMap struct {
Account *pb.Account
VM *pb.Event_VM
Action string // what type of button
aTab *GuiTabStructure
custom func (*ButtonMap)
}