Public Methods |
| Spinner (Rect cFrame, const char *pzName, double 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 | SetMinValue (double vValue) |
void | SetMaxValue (double vValue) |
void | SetMinMax (double vMin, double vMax) |
void | SetStep (double vStep) |
void | SetScale (double vScale) |
void | SetMinPreferredSize (int nWidthChars) |
void | SetMaxPreferredSize (int nWidthChars) |
double | GetMinValue () const |
double | GetMaxValue () const |
double | GetStep () const |
double | GetScale () const |
virtual void | PostValueChange (const Variant &cNewValue) |
virtual void | LabelChanged (const std::string &cNewLabel) |
virtual void | EnableStatusChanged (bool bIsEnabled) |
virtual bool | Invoked (Message *pcMessage) |
| Intercept outgoing messages. More...
|
virtual void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
| Hook called by the system when the mouse is moved. More...
|
virtual void | MouseDown (const Point &cPosition, uint32 nButtons) |
| Hook called by the system when a mouse button is pressed. More...
|
virtual void | MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData) |
| Hook called by the system when a mouse button is release. More...
|
virtual void | WheelMoved (const Point &cDelta) |
| Hook called by the system when the scroll-wheel is rotated. More...
|
virtual void | AllAttached () |
virtual void | HandleMessage (Message *pcMessage) |
| Handle a message targeted at this handler. More...
|
virtual void | Paint (const os::Rect &cUpdateRect) |
virtual void | FrameSized (const Point &cDelta) |
| Virtual hook called by the system when the view is resized. More...
|
virtual Point | GetPreferredSize (bool bLargest) const |
Protected Methods |
virtual std::string | FormatString (double vValue) |