Motoko::ScrollBar Class Reference

Class that represents a generic scrollbar. More...

#include <ScrollBar.h>

Inheritance diagram for Motoko::ScrollBar:

Motoko::Control Motoko::HScrollBar Motoko::VScrollBar List of all members.

Public Member Functions

 ScrollBar ()
 ScrollBar (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)
 ScrollBar (const ScrollBar &obj)
virtual ScrollBaroperator= (const ScrollBar &obj)
 ~ScrollBar ()
virtual ScrollBarCopyFrom (const ScrollBar &obj)
 This function copies obj in the actual object.
int GetLargeChange (void)
 Get the LargeChange of the control.
int GetSmallChange (void)
 Get the SmallChange of the control.
int GetMax (void)
 Get the Max of the control.
int GetMin (void)
 Get the Min of the control.
int GetValue (void)
 Get the Value of the control.
ButtonGetButton01 (void)
 Get the Button01 of the control.
ButtonGetButton02 (void)
 Get the Button02 of the control.
ButtonGetButton03 (void)
 Get the Button03 of the control.
void SetLargeChange (int val)
 Set the LargeChange of the control.
void SetSmallChange (int val)
 Set the SmallChange of the control.
void SetMax (int val)
 Set the Max of the control.
void SetMin (int val)
 Set the Min of the control.
void SetValue (int val)
 Set the Value of the control.
virtual void SetName (const char *val)
 Set the name of the control.
virtual void SetAppearance (ControlSkin *val)
 Set the appearance of the control.
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.
virtual void SetBackStyle (ControlBackStyle val)
 Set the back style of the control.
virtual void SetBackColor (Uint32 val)
 Set the back color of the control.
void SetAppearance (ControlSkin *scroll, ControlSkin *button)
 Set the appearance of the control.

Detailed Description

Class that represents a generic scrollbar.


Constructor & Destructor Documentation

Motoko::ScrollBar::ScrollBar (  ) 

ScrollBar constructor.

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

ScrollBar constructor.

Motoko::ScrollBar::ScrollBar ( const ScrollBar obj  ) 

ScrollBar copy constructor.

Motoko::ScrollBar::~ScrollBar (  ) 

ScrollBar destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

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

ScrollBar 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