Contains definitions for TCustomImageList. base class for TImageList
TChangeLink
- class to notify when an Imagelist changes
Change
- software emulation of the OnChange event
OnChange
- event handler for a change in the Imagelist
Sender
- the imagelist that has notified us of a change
TCustomImageList
- base class for TImageList (not the same as a TBitmap collection)

Ancestor of TDragImageList which is base class for TImageList in Unit Controls

    Delphi's TCustomImageList is based on the Win32 imagelists which has
        internally only one bitmap to hold all images. This reduces handle
        allocation.
        The original Lazarus TCustomImageList implementation was LCL only based, so for
        other platforms the single bitmap implementation had some speed drawbacks.
        Therefore it was implemented as a list of bitmaps, however it doesn't reduce
        handle allocation.
        In its current form, the imagelist is again based on a 32bit RGBA raw
        imagedata and the widgetset is notified when images are added or removed,
        so the widgetset can create its own optimal storage. The LCL keeps only the
        data, so all transparency info will be stored cross platform. (not all
        platforms have an 8bit alpha channel).

        NOTE: due to its implementation, the TCustomImageList is not a TBitmap
        collection. If a fast storage of bitmaps is needed, create your own list!

Initialize
- sets up the list
DefineProperties
- defines the properties of the ImageList (stored in a file)
SetWidthHeight
- specifies the dimensions for display
WriteData
to a stream
ReadData
from a stream
BeginUpdate
- start updating the data
EndUpdate
- finish updating the data
Add
an Image and Mask to the list. Returns the index of the added image or -1 if unsucessful
AddIcon
- add an icon to the list, returning the index of the icon or -1 if not successful (not yet supported)
AddImages
- adds images from another imagelist to the list
AddMasked
- adds one or more bitmaps to the list. Every instance of MaskColor will be converted to transparent. Returns index of added bitmap, or -1 if unsuccessful
Change
- software method to force OnChange event
Clear
- removes all images from the list
CreateSize
- runtime constructor for image(s) with given height and width
Delete
the image specified by AIndex
Draw
the image specified by AIndex on the specified canvas at position AX, AY
GetBitmap
- creates a copy of the indexed image
GetHotSpot
- returns the co-ordinates for the hotspot of the drag image
Insert
one or more bitmaps into the list at the index position. If Mask is nil, the image has no transparent parts
InsertMasked
- adds one or more bitmaps to the list. Every instance of MaskColor will be converted to transparent
Move
an image from the CurIndex location to NewIndex location
Replace
an indexed image with the Bitmap given
ReplaceMasked
- replaces the indexed image with the image given. Every instance of MaskColor will be converted to transparent
Registers an object to get notified of a change of the imagelist
UnRegisterChanges
- remove the changes from the register
AllocBy
- allocate images by an integer value
BlendColor
- the colour for a blend
BkColor
- background colour (default none)
Count
- number of images in the list
DrawingStyle
- focus, selected, normal or transparent
Height
of images on list
Width
of images on list
OnChange
- event handler for a change in the imagelist
Masked
- if True, a mask is applied to the bitmap
ShareImages
- if True, images are allowed to be shared
ImageType
- an image or a mask
AValue
- the ImageList containing images to add
AddLazarusResource
- load TBitmap from lazarus resources and add it
FillDescription
- fills the description with the default info of the imagedata
GetRawImage
- primitive method for loading an image: you have to fill in all the description fields yourself
Reference
to the imagelist
CheckIndex
- method for checking whether the indexed item is supposed to be inserted (default condition is False)
GetReferenceHandle
- returns a handle for the reference
WSCreateReference
- creates a reference for the Imagelist (returns this as a result), passing the defined parameters for the creation process
StretchDraw
- draw the image to fill the canvas