diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-17 17:13:40 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-17 17:14:09 -0500 |
| commit | 62d9ae07ade0857e838e5e10502a34501f88fd04 (patch) | |
| tree | a4bfebb7b17eb1ab5eb9ec2995c99dd61a2b69f7 /imagelist.go | |
| parent | 010c989da9202f7261a98671377054867ba0d46d (diff) | |
Beginning the integration of the new Windows Table, which starts with removing ImageList. Darwin code will still be kept pending the use of its code. Windows code will be kept until I confirm nothing is used.
Diffstat (limited to 'imagelist.go')
| -rw-r--r-- | imagelist.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/imagelist.go b/imagelist.go deleted file mode 100644 index 6b34b28..0000000 --- a/imagelist.go +++ /dev/null @@ -1,29 +0,0 @@ -// 16 august 2014 - -package ui - -import ( - "image" -) - -// ImageList is a list of images that can be used in the rows of a Table or Tree. -// ImageList maintains a copy of each image added. -// Images in an ImageList will be automatically scaled to the needed size. -type ImageList interface { - // Append inserts an image into the ImageList. - Append(i *image.RGBA) - - // Len returns the number of images in the ImageList. - Len() ImageIndex - - imageListApply -} - -// NewImageList creates a new ImageList. -// The ImageList is initially empty. -func NewImageList() ImageList { - return newImageList() -} - -// ImageIndex is a special type used to denote an entry in a Table or Tree's ImageList. -type ImageIndex int |
