Motoko::VScrollBar Class Reference

Class that represents a generic vertical scrollbar. More...

#include <VScrollBar.h>

Inheritance diagram for Motoko::VScrollBar:

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

Public Member Functions

 VScrollBar ()
 VScrollBar (const char *name, SDL_Rect rect, ControlBackStyle backstyle, Uint32 backcolor, ControlSkin *appearance=NULL, int min=0, int max=1, int value=0, int large=1, int small=1, SDL_Surface *picture=NULL, SDL_Surface *mousepointer=NULL, bool transparency=false, bool enable=true, bool visible=true)
 VScrollBar (const VScrollBar &obj)
virtual VScrollBaroperator= (const VScrollBar &obj)
 ~VScrollBar ()
virtual void Draw (void)
 This function draw the control.
virtual bool Update (SDL_Event &event)
 This function update the control.
virtual VScrollBarCopyFrom (const VScrollBar &obj)
 This function copies obj in the actual object.
virtual void UpdateButton (void)
 This function update the center button in the actual object.
virtual void UpdateRects (void)
 This function update the rects in the actual object.
ButtonGetButtonUp (void)
 Get the Button01 of the control.
ButtonGetButtonCenter (void)
 Get the Button02 of the control.
ButtonGetButtonDown (void)
 Get the Button03 of the control.
virtual void SetName (const char *val)
 Set the name of the control.

Detailed Description

Class that represents a generic vertical scrollbar.


Constructor & Destructor Documentation

Motoko::VScrollBar::VScrollBar (  ) 

VScrollBar constructor.

Motoko::VScrollBar::VScrollBar ( const char *  name,
SDL_Rect  rect,
ControlBackStyle  backstyle,
Uint32  backcolor,
ControlSkin appearance = NULL,
int  min = 0,
int  max = 1,
int  value = 0,
int  large = 1,
int  small = 1,
SDL_Surface *  picture = NULL,
SDL_Surface *  mousepointer = NULL,
bool  transparency = false,
bool  enable = true,
bool  visible = true 
)

VScrollBar constructor.

Motoko::VScrollBar::VScrollBar ( const VScrollBar obj  ) 

VScrollBar copy constructor.

Motoko::VScrollBar::~VScrollBar (  ) 

VScrollBar destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

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

VScrollBar 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