#include <Box.h>
Inheritance diagram for Motoko::Box:
Public Member Functions | |
Box () | |
Box (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) | |
Box (const Box &obj) | |
virtual Box & | operator= (const Box &obj) |
~Box () | |
virtual Box & | CopyFrom (const Box &obj) |
This function copies obj in the actual object. | |
virtual void | UpdateRects (void) |
This function update the rects in the actual object. | |
virtual void | SetX (Sint16 val) |
Set the coordinate X of the control. | |
virtual void | SetY (Sint16 val) |
Set the coordinate Y of the control. | |
virtual void | SetWidth (Uint16 val) |
Set the width of the control. | |
virtual void | SetHeight (Uint16 val) |
Set the height of the control. | |
virtual void | SetRect (SDL_Rect &val) |
Set the rect of the control. |
Motoko::Box::Box | ( | ) |
Box constructor.
Motoko::Box::Box | ( | 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 | |||
) |
Box constructor.
Motoko::Box::~Box | ( | ) |
Box destructor.
This function copies obj in the actual object.
obj | Object to copy. |