remove old code

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-26 12:46:27 -07:00
parent 9894f31264
commit 22c687ea4d
1 changed files with 0 additions and 12 deletions

12
gui.go
View File

@ -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)