From 22c687ea4dd64140714a73ef759c28d06d3626c0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 May 2019 12:46:27 -0700 Subject: [PATCH] remove old code Signed-off-by: Jeff Carr --- gui.go | 12 ------------ 1 file changed, 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)