Planeshift
|
A dialog window to select a string value. More...
#include <eeditselectstring.h>
Public Member Functions | |
EEditSelectString () | |
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 (const csString &startValue, EEditInputboxManager::iSelectString *callback, const csVector2 &pos) |
Pops up the select dialog. | |
virtual | ~EEditSelectString () |
A dialog window to select a string value.
Definition at line 35 of file eeditselectstring.h.
EEditSelectString::EEditSelectString | ( | ) |
virtual EEditSelectString::~EEditSelectString | ( | ) | [virtual] |
virtual bool EEditSelectString::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 EEditSelectString::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void EEditSelectString::Select | ( | const csString & | startValue, |
EEditInputboxManager::iSelectString * | callback, | ||
const csVector2 & | pos | ||
) |
Pops up the select 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. |