Motoko::HScrollBar Class Reference

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

#include <HScrollBar.h>

Inheritance diagram for Motoko::HScrollBar:

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

Public Member Functions

 HScrollBar ()
 HScrollBar (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)
 HScrollBar (const HScrollBar &obj)
virtual HScrollBaroperator= (const HScrollBar &obj)
 ~HScrollBar ()
virtual void Draw (void)
 This function draw the control.
virtual bool Update (SDL_Event &event)
 This function update the control.
virtual HScrollBarCopyFrom (const HScrollBar &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.
ButtonGetButtonLeft (void)
 Get the Button01 of the control.
ButtonGetButtonCenter (void)
 Get the Button02 of the control.
ButtonGetButtonRight (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 horizontal scrollbar.


Constructor & Destructor Documentation

Motoko::HScrollBar::HScrollBar (  ) 

VScrollBar constructor.

Motoko::HScrollBar::HScrollBar ( 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::HScrollBar::HScrollBar ( const HScrollBar obj  ) 

VScrollBar copy constructor.

Motoko::HScrollBar::~HScrollBar (  ) 

VScrollBar destructor.


Member Function Documentation

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

This function copies obj in the actual object.

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

HScrollBar & Motoko::HScrollBar::operator= ( const HScrollBar 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