#include <PictureBox.h>
Inheritance diagram for Motoko::PictureBox:
Public Member Functions | |
PictureBox () | |
PictureBox (const char *name, SDL_Rect rect, ControlBackStyle backstyle, Uint32 backcolor, ControlSkin *appearance=NULL, SDL_Surface *picture=NULL, SDL_Surface *mousepointer=NULL, bool transparency=false, bool enable=true, bool visible=true) | |
PictureBox (const PictureBox &obj) | |
virtual PictureBox & | operator= (const PictureBox &obj) |
~PictureBox () | |
virtual void | Draw (void) |
This function draw the control. | |
virtual bool | Update (SDL_Event &event) |
This function update the control. | |
virtual PictureBox & | CopyFrom (const PictureBox &obj) |
This function copies obj in the actual object. | |
SDL_DOUBLECLICK_EVENT | GetDoubleClick (void) |
Get the double click function of the control. | |
void | SetDoubleClick (SDL_DOUBLECLICK_EVENT val) |
Set the double click function of the control. |
Motoko::PictureBox::PictureBox | ( | ) |
PictureBox constructor.
Motoko::PictureBox::PictureBox | ( | const char * | name, | |
SDL_Rect | rect, | |||
ControlBackStyle | backstyle, | |||
Uint32 | backcolor, | |||
ControlSkin * | appearance = NULL , |
|||
SDL_Surface * | picture = NULL , |
|||
SDL_Surface * | mousepointer = NULL , |
|||
bool | transparency = false , |
|||
bool | enable = true , |
|||
bool | visible = true | |||
) |
PictureBox constructor.
Motoko::PictureBox::PictureBox | ( | const PictureBox & | obj | ) |
PictureBox copy constructor.
Motoko::PictureBox::~PictureBox | ( | ) |
PictureBox destructor.
PictureBox & Motoko::PictureBox::CopyFrom | ( | const PictureBox & | obj | ) | [virtual] |
This function copies obj in the actual object.
obj | Object to copy. |
PictureBox & Motoko::PictureBox::operator= | ( | const PictureBox & | obj | ) | [virtual] |
PictureBox operator =.