From d855f5df3f084f57ada2add87e3d5a59a8ccbd0a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 20 Feb 2015 00:23:49 -0500 Subject: Updated the widget gallery example to use the new Table without ImageList. --- examples/widgetgallery/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/widgetgallery/main.go') diff --git a/examples/widgetgallery/main.go b/examples/widgetgallery/main.go index c0c811a..569c4c4 100644 --- a/examples/widgetgallery/main.go +++ b/examples/widgetgallery/main.go @@ -37,13 +37,12 @@ func initGUI() { g := ui.NewGroup("Group", ui.Space()) - icons, il := readIcons() + icons := readIcons() table := ui.NewTable(reflect.TypeOf(icons[0])) table.Lock() d := table.Data().(*[]icon) *d = icons table.Unlock() - table.LoadImageList(il) area := ui.NewArea(200, 200, &areaHandler{tileImage(20)}) -- cgit v1.2.3