Motoko::Box Class Reference

Class that represents a generic box. More...

#include <Box.h>

Inheritance diagram for Motoko::Box:

Motoko::Control Motoko::ComboBox Motoko::ControlListBox Motoko::LabelBox Motoko::ListBox Motoko::PictureBox Motoko::TextBox List of all members.

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 Boxoperator= (const Box &obj)
 ~Box ()
virtual BoxCopyFrom (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.

Detailed Description

Class that represents a generic box.


Constructor & Destructor Documentation

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 ( const Box obj  ) 

Box copy constructor.

Motoko::Box::~Box (  ) 

Box destructor.


Member Function Documentation

Box & Motoko::Box::CopyFrom ( const Box obj  )  [virtual]

This function copies obj in the actual object.

Parameters:
obj Object to copy.
Returns:
A reference to the actual object.

Box & Motoko::Box::operator= ( const Box obj  )  [virtual]

Box operator =.


The documentation for this class was generated from the following files:
Generated on Mon Jul 17 18:33:49 2006 for Motoko by  doxygen 1.4.7