Public Methods |
| Spinner (Rect cFrame, const char *pzName, float vValue, Message *pcMessage, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND) |
void | SetEnable (bool bEnabled=true) |
bool | IsEnabled () const |
void | SetFormat (const char *pzStr) |
const std::string& | GetFormat () const |
void | SetValue (float VValue, bool bNotify=true) |
void | SetMinValue (float vValue) |
void | SetMaxValue (float vValue) |
void | SetMinMax (float vMin, float vMax) |
void | SetStep (float vStep) |
void | SetScale (float vScale) |
void | SetMinPreferredSize (int nWidthChars) |
void | SetMaxPreferredSize (int nWidthChars) |
float | GetValue () const |
float | GetMinValue () const |
float | GetMaxValue () const |
float | GetStep () const |
float | GetScale () const |
virtual status_t | Invoke (Message *pcMessage) |
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 | AllAttached () |
virtual void | HandleMessage (Message *pcMessage) |
virtual void | Paint (const os::Rect &cUpdateRect) |
virtual void | FrameSized (const Point &cDelta) |
virtual Point | GetPreferredSize (bool bLargest) const |
Protected Methods |
virtual std::string | FormatString (float vValue) |
virtual float | ValueChanged (float vNewValue) |