diff options
| author | Jeff Carr <[email protected]> | 2019-06-01 02:13:18 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-01 02:13:18 -0700 |
| commit | 8d920cb2fc841443c8ceeb372411c5ec3422153d (patch) | |
| tree | 6a2a0aa0bd6cecdbeda76e33d5f202d27e49451b /mainCloudBox.go | |
| parent | 74e62f64055c48495886318d35c33715fb30e2ea (diff) | |
finally able to remove addAccount.go
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainCloudBox.go')
| -rw-r--r-- | mainCloudBox.go | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/mainCloudBox.go b/mainCloudBox.go index 5982a27..8f628e6 100644 --- a/mainCloudBox.go +++ b/mainCloudBox.go @@ -115,41 +115,13 @@ func ShowAccountQuestionTab(gw *GuiWindow) { log.Println("Sleep(200)") time.Sleep(200 * time.Millisecond) - abox := AddAccountQuestionBox(gw) + // abox := AddAccountQuestionBox(gw) + abox := gw.MakeTab(gw) gw.BoxMap["Box2"] = abox - // gw.Box2 = AddAccountQuestionBox(gw) gw.UiTab.InsertAt("New Account?", 0, abox.UiBox) gw.UiTab.SetMargined(0, true) } -/* -func ShowAccountTab(gw *GuiWindow, i int) { - log.Println("ShowAccountTab() START") - - log.Println("Sleep(200)") - time.Sleep(200 * time.Millisecond) - - // Create the things for the Account Tab - abox := AddAccountBox(gw) - - // Set the parents and data structure links - // aTab.me = gw.UiTab - // aTab.parentWindow = Data.Window1.W - // aTab.tabOffset = 0 - - if (i >= 0) { - log.Println("ShowAccountTab() InsertAt i=", i) - gw.UiTab.Delete(0) - gw.UiTab.InsertAt("Add Account", i, abox.UiBox) - gw.UiTab.SetMargined(0, true) - } else { - // TODO: After append try to discover the tab index # - log.Println("ShowAccountTab() Append") - AddBoxToTab("Create New Account", gw.UiTab, abox.UiBox) - } -} -*/ - func ShowMainTab(gw *GuiWindow) { log.Println("ShowMainTab() gw =", gw) log.Println("ShowMainTab() gw.UiTab =", gw.UiTab) |
