Public Member Functions | |
PG_Image (PG_Widget *parent, const PG_Point &p, const char *filename, const char *style="ThemeWidget") | |
Contructor of the PG_Image class (loading from file). | |
PG_Image (PG_Widget *parent, const PG_Point &p, SDL_Surface *image, bool freeimage=true, const char *style="ThemeWidget") | |
Contructor of the PG_Image class (image from surface). | |
PG_Image (PG_Widget *parent, const PG_Point &p, const char *filename, Uint32 colorkey, const char *style) | |
Contructor of the PG_Image class (loading from file). | |
void | SetColorKey (Uint32 key) |
Set the colorkey of the image. | |
Protected Member Functions | |
void | eventDraw (SDL_Surface *surface, const PG_Rect &rect) |
overridable eventhandler to draw the object surface | |
void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
overridable eventhandler to blit the widget contents to the screen |
|
Contructor of the PG_Image class (loading from file).
|
|
Contructor of the PG_Image class (image from surface).
|
|
Contructor of the PG_Image class (loading from file).
|
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_ThemeWidget. |
|
overridable eventhandler to draw the object surface
Reimplemented from PG_ThemeWidget. |
|
Set the colorkey of the image.
|