#include <ScrollBar.h>
Inheritance diagram for Motoko::ScrollBar:
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 ScrollBar & | operator= (const ScrollBar &obj) |
~ScrollBar () | |
virtual ScrollBar & | CopyFrom (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. | |
Button * | GetButton01 (void) |
Get the Button01 of the control. | |
Button * | GetButton02 (void) |
Get the Button02 of the control. | |
Button * | GetButton03 (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. |
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 | ( | ) |
ScrollBar destructor.
This function copies obj in the actual object.
obj | Object to copy. |