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