diff options
| author | Jeff Carr <[email protected]> | 2019-05-26 12:40:07 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-26 12:40:07 -0700 |
| commit | 9894f312641f09c6e7a685acf47d55e8be257607 (patch) | |
| tree | d55165cca2fdc82b84fc80097545e443e408b5cb /addAccount.go | |
| parent | 679f01341eaec0b5d6697e4015da18bfa12e8122 (diff) | |
almost complete obviewscation of the buttons
yes, I can't spell. I like it this way better anyway
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addAccount.go')
| -rw-r--r-- | addAccount.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addAccount.go b/addAccount.go index b5529dc..58e2b7e 100644 --- a/addAccount.go +++ b/addAccount.go @@ -5,16 +5,16 @@ import "log" import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" -func AddAccountQuestionBox(junk *ui.Box, custom func(*ButtonMap)) *ui.Box { +func AddAccountQuestionBox() *ui.Box { newbox := ui.NewVerticalBox() newbox.SetPadded(true) - newButton := CreateButton(nil, nil, "Create New Account", "DONE", custom) + newButton := CreateButton(nil, nil, "Create New Account", "DONE", nil) newbox.Append(newButton, false) newbox.Append(ui.NewHorizontalSeparator(), false) - okButton := CreateButton(nil, nil, "I Have an Account", "DONE", custom) + okButton := CreateButton(nil, nil, "I Have an Account", "DONE", nil) newbox.Append(okButton, false) return newbox @@ -120,9 +120,9 @@ func AddAccountBox(aTab *GuiTabStructure) { hboxButtons.SetPadded(true) vbox.Append(hboxButtons, false) - okButton := CreateButton(nil, nil, "Add Account", "ADD", mouseClick) + okButton := CreateButton(nil, nil, "Add Account", "ADD", nil) hboxButtons.Append(okButton, false) - backButton := CreateButton(nil, nil, "Back", "BACK", mouseClick) + backButton := CreateButton(nil, nil, "Back", "BACK", nil) hboxButtons.Append(backButton, false) } |
