
PG_SpinnerBox Class Reference
Inheritance diagram for PG_SpinnerBox:
[legend]Collaboration diagram for PG_SpinnerBox:
[legend]List of all members.
Detailed Description
PG_SpinnerBox creates a textbox with attached increase/decrease buttons to control the numeric value.
- Author:
- Atani - Mike Dunston
PG_SpinnerBox creates a textbox with attached increase/decrease buttons to control the numeric value. Many convenience methods are available... SetValue, SetMinValue, SetMaxValue, SetMask GetValue, GetMinValue, GetMaxValue, GetMask
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.
- Examples:
-
paratest.cpp.
Member Enumeration Documentation
|
- Enumeration values:
-
IDSPINNERBOX_UP |
|
IDSPINNERBOX_DOWN |
|
|
Constructor & Destructor Documentation
Member Function Documentation
char* PG_SpinnerBox::GetMask |
( |
|
) |
[inline] |
|
int PG_SpinnerBox::GetMaxValue |
( |
|
) |
[inline] |
|
int PG_SpinnerBox::GetMinValue |
( |
|
) |
[inline] |
|
int PG_SpinnerBox::GetValue |
( |
|
) |
[inline] |
|
bool PG_SpinnerBox::handleButtonClick |
( |
PG_Button * |
button |
) |
[protected] |
|
bool PG_SpinnerBox::handleEditEnd |
( |
PG_LineEdit * |
edit |
) |
[protected] |
|
void PG_SpinnerBox::SetMask |
( |
const char * |
value |
) |
|
|
void PG_SpinnerBox::SetMaxValue |
( |
int |
value |
) |
[inline] |
|
void PG_SpinnerBox::SetMinValue |
( |
int |
value |
) |
[inline] |
|
void PG_SpinnerBox::SetValue |
( |
int |
value |
) |
[inline] |
|
Member Data Documentation
The ParaGUI Project - Alexander Pipelka