summaryrefslogtreecommitdiff
path: root/mainCloudBox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 13:11:08 -0700
committerJeff Carr <[email protected]>2019-05-29 13:11:08 -0700
commitfc35ccbfd23aefde013905c8c31668825368ebba (patch)
tree410a256d9948893ae2eb3f928b048e0c77019491 /mainCloudBox.go
parentfdc8f820770ba8b8b7d5e281d24a076dc7065e73 (diff)
attempt to hide & show tab
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainCloudBox.go')
-rw-r--r--mainCloudBox.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/mainCloudBox.go b/mainCloudBox.go
index e4ccb6f..9ab998d 100644
--- a/mainCloudBox.go
+++ b/mainCloudBox.go
@@ -16,6 +16,7 @@ func makeCloudInfoBox() *ui.Box {
hbox.SetPadded(true)
if (Data.Debug) {
+ log.Println("makeCloudInfoBox() add debugging buttons")
vbox := ui.NewVerticalBox()
vbox.SetPadded(true)
hbox.Append(vbox, false)
@@ -164,8 +165,8 @@ func ShowAccountQuestionTab() {
log.Println("Sleep(200)")
time.Sleep(200 * time.Millisecond)
- Data.smallBox = AddAccountQuestionBox()
- Data.Window1.T.InsertAt("New Account?", 0, Data.smallBox)
+ Data.Window1.Box2 = AddAccountQuestionBox()
+ Data.Window1.T.InsertAt("New Account?", 0, Data.Window1.Box2)
Data.Window1.T.SetMargined(0, true)
}
@@ -201,8 +202,8 @@ func ShowMainTab() {
log.Println("Sleep(200)")
time.Sleep(200 * time.Millisecond)
- Data.smallBox = makeCloudInfoBox()
- Data.Window1.T.InsertAt("Main", 0, Data.smallBox)
+ Data.Window1.Box2 = makeCloudInfoBox()
+ Data.Window1.T.InsertAt("Main", 0, Data.Window1.Box2)
Data.Window1.T.SetMargined(0, true)
}
@@ -235,9 +236,9 @@ func makeCloudWindow() {
Data.Window1.W.SetMargined(true)
text := makeAttributedString()
- Data.Window1.B1 = ShowSplashBox(text)
+ Data.Window1.Box1 = ShowSplashBox(text)
- Data.Window1.T.Append("WIT Splash", Data.Window1.B1)
+ Data.Window1.T.Append("WIT Splash", Data.Window1.Box1)
Data.Window1.T.SetMargined(0, true)
Data.Window1.W.Show()