


Registerable Events:
MSG_SPINNER_CHANGE -
Fired when the user clicks either up or down on the spinner buttons. Currently typed modifications are not populated to the value. This will be added soon. Note: using SetValue above will fire this event.
Public Types | |
| enum | { IDSPINNERBOX_UP = PG_WIDGETID_INTERNAL + 12, IDSPINNERBOX_DOWN = PG_WIDGETID_INTERNAL + 13 } |
Public Member Functions | |
| PG_SpinnerBox (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, const std::string &style="SpinnerBox") | |
| void | SetValue (int value) |
| void | SetMinValue (int value) |
| void | SetMaxValue (int value) |
| void | SetMask (const std::string &value) |
| int | GetValue () |
| int | GetMinValue () |
| int | GetMaxValue () |
| const PG_String & | GetMask () |
Public Attributes | |
| SignalChange< int > | sigChange |
Protected Member Functions | |
| bool | handleButtonClick (PG_Button *button) |
| bool | handleEditEnd (PG_LineEdit *edit) |
Classes | |
| class | SignalChange |
| Signal type declaration. More... | |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|