#include <Dialog.h>
Inheritance diagram for Motoko::Dialog:
Public Member Functions | |
Dialog () | |
Dialog (const char *name, SDL_Rect rect, ControlBackStyle backstyle, Uint32 backcolor, Uint32 titlecolor, const char *text, CRM32Pro_CFont *font, ControlSkin *appearance=NULL, SDL_Surface *picture=NULL, SDL_Surface *mousepointer=NULL, AlignmentStyle alignment=Left, bool transparency=false, bool enable=true, bool visible=true) | |
Dialog (const Dialog &obj) | |
virtual Dialog & | operator= (const Dialog &obj) |
~Dialog () | |
virtual void | Draw (void) |
This function draw the control. | |
virtual bool | Update (SDL_Event &event) |
This function update the control. | |
virtual Dialog & | CopyFrom (const Dialog &obj) |
This function copies obj in the actual object. | |
virtual void | UpdateRects (void) |
This function update the rects in the actual object. | |
Uint32 | GetTitleColor (void) |
Get the title color of the control. | |
Button * | GetClose (void) |
Get the close button of the control. | |
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. | |
virtual void | SetTitleColor (Uint32 val) |
Set the title color of the control. | |
virtual void | SetName (const char *val) |
Set the name of the control. | |
virtual void | SetBackStyle (ControlBackStyle val) |
Set the back style of the control. | |
virtual void | SetBackColor (Uint32 dialog, Uint32 button) |
Set the back color of the control. | |
void | SetAppearance (ControlSkin *dialog, ControlSkin *button) |
Set the appearance of the control. | |
virtual void | SetBackColor (Uint32 val) |
Set the back color of the control. | |
virtual void | SetAppearance (ControlSkin *val) |
Set the appearance of the control. |
Motoko::Dialog::Dialog | ( | ) |
Dialog constructor.
Motoko::Dialog::Dialog | ( | const char * | name, | |
SDL_Rect | rect, | |||
ControlBackStyle | backstyle, | |||
Uint32 | backcolor, | |||
Uint32 | titlecolor, | |||
const char * | text, | |||
CRM32Pro_CFont * | font, | |||
ControlSkin * | appearance = NULL , |
|||
SDL_Surface * | picture = NULL , |
|||
SDL_Surface * | mousepointer = NULL , |
|||
AlignmentStyle | alignment = Left , |
|||
bool | transparency = false , |
|||
bool | enable = true , |
|||
bool | visible = true | |||
) |
Dialog constructor.
Motoko::Dialog::~Dialog | ( | ) |
Dialog destructor.
This function copies obj in the actual object.
obj | Object to copy. |