From 50d0a1e42889dc3b3f67f5bdacb5fa310c7a9f99 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 12 May 2019 23:09:57 -0700 Subject: [PATCH] more code removal Signed-off-by: Jeff Carr --- table.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/table.go b/table.go index 738c9fb..b33bb9b 100644 --- a/table.go +++ b/table.go @@ -9,20 +9,11 @@ import _ "github.com/andlabs/ui/winmanifest" // import "github.com/davecgh/go-spew/spew" -var img [2]*ui.Image - -/* - img[0] = ui.NewImage(16, 16) - img[1] = ui.NewImage(16, 16) -*/ - type CellData struct { Index int HumanID int Value ui.TableValue - Raw string // shove stuff in here and figure out how to make a ui.TableValue later Name string // what type of cell is this? - Event func() // what function to call if there is an event on this } // hmm. will this stand the test of time? @@ -45,7 +36,7 @@ type HumanCellData struct { TextID int Color ui.TableColor ColorID int - Event func() // what function to call if there is an event on this +// Event func() // what function to call if there is an event on this } type TableData struct {