parent
e6e1fec442
commit
5775e40780
|
@ -9,12 +9,12 @@ func AddAccountQuestionBox(junk *ui.Box, custom func(int, string)) *ui.Box {
|
||||||
newbox := ui.NewVerticalBox()
|
newbox := ui.NewVerticalBox()
|
||||||
newbox.SetPadded(true)
|
newbox.SetPadded(true)
|
||||||
|
|
||||||
newButton := CreateButton("Create New Account", "CLOSE", custom)
|
newButton := CreateButton("Create New Account", "DONE", custom)
|
||||||
newbox.Append(newButton, false)
|
newbox.Append(newButton, false)
|
||||||
|
|
||||||
newbox.Append(ui.NewHorizontalSeparator(), false)
|
newbox.Append(ui.NewHorizontalSeparator(), false)
|
||||||
|
|
||||||
okButton := CreateButton("I Have an Account", "CLOSE", custom)
|
okButton := CreateButton("I Have an Account", "DONE", custom)
|
||||||
newbox.Append(okButton, false)
|
newbox.Append(okButton, false)
|
||||||
|
|
||||||
return newbox
|
return newbox
|
||||||
|
|
2
area.go
2
area.go
|
@ -14,7 +14,7 @@ func areaClick(a int, b string) {
|
||||||
func makeSplashArea(custom func(int, string)) *ui.Area {
|
func makeSplashArea(custom func(int, string)) *ui.Area {
|
||||||
// make this button just to get the default font (but don't display the button)
|
// make this button just to get the default font (but don't display the button)
|
||||||
// There should be another way to do this (?)
|
// There should be another way to do this (?)
|
||||||
Data.fontButton = CreateFontButton("SplashFont", "CLOSE", custom)
|
Data.fontButton = CreateFontButton("SplashFont", "DONE", custom)
|
||||||
|
|
||||||
makeAttributedString()
|
makeAttributedString()
|
||||||
Data.splashArea = ui.NewArea(myAH)
|
Data.splashArea = ui.NewArea(myAH)
|
||||||
|
|
|
@ -30,6 +30,8 @@ func makeCloudInfoBox(custom func(int, string)) *ui.Box {
|
||||||
|
|
||||||
vbox.Append(CreateButton("Add Account", "ADD", custom), false)
|
vbox.Append(CreateButton("Add Account", "ADD", custom), false)
|
||||||
|
|
||||||
|
vbox.Append(CreateButton("Quit", "QUIT", custom), false)
|
||||||
|
|
||||||
if (config.String("debugging") == "true") {
|
if (config.String("debugging") == "true") {
|
||||||
addDebuggingButtons(vbox, custom)
|
addDebuggingButtons(vbox, custom)
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(int, string)) *ui.B
|
||||||
newbox.Append(ui.NewLabel(tmp), false)
|
newbox.Append(ui.NewLabel(tmp), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
okButton := CreateButton("OK", "CLOSE", custom)
|
okButton := CreateButton("OK", "DONE", custom)
|
||||||
newbox.Append(okButton, false)
|
newbox.Append(okButton, false)
|
||||||
|
|
||||||
if (vbox != nil) {
|
if (vbox != nil) {
|
||||||
|
|
Loading…
Reference in New Issue