Motoko::Panel Class Reference

Class that represents a generic panel. More...

#include <Panel.h>

Inheritance diagram for Motoko::Panel:

Motoko::Container Motoko::Control List of all members.

Public Member Functions

 Panel ()
 Panel (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)
 Panel (const Panel &obj)
virtual Paneloperator= (const Panel &obj)
 ~Panel ()
virtual void Draw (void)
 This function draw the control.
virtual bool Update (SDL_Event &event)
 This function update the control.
virtual PanelCopyFrom (const Panel &obj)
 This function copies obj in the actual object.

Detailed Description

Class that represents a generic panel.


Constructor & Destructor Documentation

Motoko::Panel::Panel (  ) 

Panel constructor.

Motoko::Panel::Panel ( 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 
)

Panel constructor.

Motoko::Panel::Panel ( const Panel obj  ) 

Panel copy constructor.

Motoko::Panel::~Panel (  ) 

Container destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

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

Panel 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