#include <GToolBar.h>
Inheritance diagram for GImageList:
Public Member Functions | |
GImageList (int x, int y, GSurface *pDC=NULL) | |
Create the image list. | |
int | TileX () |
Returns the width of each image. | |
int | TileY () |
Returns the height of each image. | |
int | GetItems () |
Gets the number of images in the list. | |
GRect * | GetBounds () |
bool | Create (int x, int y, int Bits, int LineLen=0, bool KeepData=false) |
Creates the image list. | |
void | Update (int Flags) |
void | Draw (GSurface *pDest, int x, int y, int Image, int Flags=0) |
Draw an image onto a graphics surface. |
Currently the image list treats the pixel at (0,0) as the transparent colour key.
|
Create the image list.
|
|
Draw an image onto a graphics surface.
|
|
Finds the bounds of valid data for each image and returns it in an array valid from 0 to GetItems()-1. |
|
Notifies the image list that it's image data has changed and it should flush any cached info about the images Reimplemented from GDeviceContext. |