Motoko::PictureBox Class Reference

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

#include <PictureBox.h>

Inheritance diagram for Motoko::PictureBox:

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

Public Member Functions

 PictureBox ()
 PictureBox (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)
 PictureBox (const PictureBox &obj)
virtual PictureBoxoperator= (const PictureBox &obj)
 ~PictureBox ()
virtual void Draw (void)
 This function draw the control.
virtual bool Update (SDL_Event &event)
 This function update the control.
virtual PictureBoxCopyFrom (const PictureBox &obj)
 This function copies obj in the actual object.
SDL_DOUBLECLICK_EVENT GetDoubleClick (void)
 Get the double click function of the control.
void SetDoubleClick (SDL_DOUBLECLICK_EVENT val)
 Set the double click function of the control.

Detailed Description

Class that represents a generic picture box.


Constructor & Destructor Documentation

Motoko::PictureBox::PictureBox (  ) 

PictureBox constructor.

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

PictureBox constructor.

Motoko::PictureBox::PictureBox ( const PictureBox obj  ) 

PictureBox copy constructor.

Motoko::PictureBox::~PictureBox (  ) 

PictureBox destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

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

PictureBox 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