Motoko::LabelBox Class Reference

Class that represents a generic label box. More...

#include <LabelBox.h>

Inheritance diagram for Motoko::LabelBox:

Motoko::Box Motoko::ITextControl Motoko::Control List of all members.

Public Member Functions

 LabelBox ()
 LabelBox (const char *name, SDL_Rect rect, ControlBackStyle backstyle, Uint32 backcolor, 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)
 LabelBox (const LabelBox &obj)
virtual LabelBoxoperator= (const LabelBox &obj)
 ~LabelBox ()
virtual void Draw (void)
 This function draw the control.
virtual bool Update (SDL_Event &event)
 This function update the control.
virtual LabelBoxCopyFrom (const LabelBox &obj)
 This function copies obj in the actual object.

Detailed Description

Class that represents a generic label box.


Constructor & Destructor Documentation

Motoko::LabelBox::LabelBox (  ) 

LabelBox constructor.

Motoko::LabelBox::LabelBox ( const char *  name,
SDL_Rect  rect,
ControlBackStyle  backstyle,
Uint32  backcolor,
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 
)

LabelBox constructor.

Motoko::LabelBox::LabelBox ( const LabelBox obj  ) 

LabelBox copy constructor.

Motoko::LabelBox::~LabelBox (  ) 

LabelBox destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

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

LabelBox operator =.


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