Public Methods |
| ScrollBar (const Rect &cFrame, const char *pzName, Message *pcMsg, int nMin=0, int nMax=INT_MAX, int nOrientation=VERTICAL, uint32 nResizeMask=0) |
| ~ScrollBar () |
void | SetScrollTarget (View *pcTarget) |
View* | GetScrollTarget (void) |
status_t | Invoke (Message *a_pcMessage=NULL) |
virtual void | SetValue (int nValue) |
void | SetValue (int nValue, bool bInvoke) |
virtual void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
virtual void | MouseDown (const Point &cPosition, uint32 nButtons) |
virtual void | MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData) |
virtual void | Paint (const Rect &cUpdateRect) |
| Called by the system update "damaged" areas of the view. More...
|
Point | GetPreferredSize (bool bLargest) const |
void | SetSteps (int nSmall, int nBig) |
void | GetSteps (int *pnSmall, int *pnBig) |
void | SetMinMax (int nMin, int nMax) |
void | SetProportion (float vProp) |
float | GetProportion (void) |