diff options
| author | Jeff Carr <[email protected]> | 2019-05-24 18:17:05 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-24 18:17:05 -0700 |
| commit | 838fdb7b605c1313c6bde722772d8bed9ac1b098 (patch) | |
| tree | 622ea5b5fad5a4ec4ccb4a3b51cc8018f7244fad /gui.go | |
| parent | 462813cf36fca0f7197af5dea7c682f4d0e01532 (diff) | |
start removing the config package
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -5,7 +5,6 @@ import "log" import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" -// import "github.com/gookit/config" import "github.com/davecgh/go-spew/spew" func InitColumns(mh *TableData, parts []TableColumnData) { @@ -194,7 +193,6 @@ func defaultFontButtonClick(button *ui.FontButton) { func CreateButton(name string, note string, custom func(*ButtonMap)) *ui.Button { newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap @@ -210,7 +208,6 @@ func CreateButton(name string, note string, custom func(*ButtonMap)) *ui.Button func CreateAccountButton(account string, custom func(*ButtonMap)) *ui.Button { name := "Show " + account newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap @@ -227,7 +224,6 @@ func CreateAccountButton(account string, custom func(*ButtonMap)) *ui.Button { func CreateLoginButton(account string, custom func(*ButtonMap)) *ui.Button { name := "Login " + account newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap |
