Planeshift
|
A dialog window to select a floating point value. More...
#include <eeditselectfloat.h>
Public Member Functions | |
EEditSelectFloat () | |
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
virtual bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
void | Select (float startValue, EEditInputboxManager::iSelectFloat *callback, const csVector2 &pos) |
Pops up the select float dialog. | |
virtual | ~EEditSelectFloat () |
A dialog window to select a floating point value.
Definition at line 35 of file eeditselectfloat.h.
EEditSelectFloat::EEditSelectFloat | ( | ) |
virtual EEditSelectFloat::~EEditSelectFloat | ( | ) | [virtual] |
virtual bool EEditSelectFloat::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
virtual bool EEditSelectFloat::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void EEditSelectFloat::Select | ( | float | startValue, |
EEditInputboxManager::iSelectFloat * | callback, | ||
const csVector2 & | pos | ||
) |
Pops up the select float dialog.
startValue | the value that first appears in the dialog box. |
callback | a pointer to the callback that should be called on selection. |
pos | Selected position. |