#include <HScrollBar.h>
Inheritance diagram for Motoko::HScrollBar:
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 HScrollBar & | operator= (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 HScrollBar & | CopyFrom (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. | |
Button * | GetButtonLeft (void) |
Get the Button01 of the control. | |
Button * | GetButtonCenter (void) |
Get the Button02 of the control. | |
Button * | GetButtonRight (void) |
Get the Button03 of the control. | |
virtual void | SetName (const char *val) |
Set the name of the control. |
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.
HScrollBar & Motoko::HScrollBar::CopyFrom | ( | const HScrollBar & | obj | ) | [virtual] |
This function copies obj in the actual object.
obj | Object to copy. |
HScrollBar & Motoko::HScrollBar::operator= | ( | const HScrollBar & | obj | ) | [virtual] |
VScrollBar operator =.