summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-26 12:46:27 -0700
committerJeff Carr <[email protected]>2019-05-26 12:46:27 -0700
commit22c687ea4dd64140714a73ef759c28d06d3626c0 (patch)
treee5e7630b02d703311a1b85668787f44e376d6f6a /gui.go
parent9894f312641f09c6e7a685acf47d55e8be257607 (diff)
remove old code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/gui.go b/gui.go
index 5e24774..17f1ea5 100644
--- a/gui.go
+++ b/gui.go
@@ -185,18 +185,6 @@ func defaultButtonClick(button *ui.Button) {
}
}
-/*
-// This is the raw routine passed to every button in andlabs libui / ui
-// (this has to be different for FontButtons)
-// TODO; merge the logic with the function above
-func defaultFontButtonClick(button *ui.FontButton) {
- log.Println("defaultFontButtonClick() button =", button)
- for key, foo := range Data.AllButtons {
- log.Println("Data.AllButtons =", key, foo)
- }
-}
-*/
-
func CreateButton(a *pb.Account, vm *pb.Event_VM,
name string, note string, custom func(*ButtonMap)) *ui.Button {
newB := ui.NewButton(name)