diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-30 23:02:02 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-30 23:02:02 -0400 |
| commit | 77bf566ebbcb62acd4d08d905d9542d6ff9b6b80 (patch) | |
| tree | eeb8e72bc3bf57f5be7f0c0af4319189ac6de838 /redo/imagelist.go | |
| parent | 155899c65ed32245e2ccad4197a10c77017d835b (diff) | |
...in with the new.
Diffstat (limited to 'redo/imagelist.go')
| -rw-r--r-- | redo/imagelist.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/redo/imagelist.go b/redo/imagelist.go deleted file mode 100644 index 6b34b28..0000000 --- a/redo/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 |
