diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-20 00:23:49 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-20 00:23:49 -0500 |
| commit | d855f5df3f084f57ada2add87e3d5a59a8ccbd0a (patch) | |
| tree | 45ea73b742125ffdcddc7405cec3a8f38f89475d /examples/widgetgallery/main.go | |
| parent | 87e5e3ed857e287419c71e41dc8394f4772c1462 (diff) | |
Updated the widget gallery example to use the new Table without ImageList.
Diffstat (limited to 'examples/widgetgallery/main.go')
| -rw-r--r-- | examples/widgetgallery/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
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)}) |
