|
Planeshift
|
A dialog window to select from a list of values. More...
#include <eeditselectlist.h>
Public Member Functions | |
| EEditSelectList () | |
| virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
| Called whenever a button is pressed. | |
| virtual void | OnListAction (pawsListBox *selected, int status) |
| Called whenever an item in a child list box is selected. | |
| virtual bool | PostSetup () |
| This is called after the widget and all of it's children have been created. | |
| void | Select (csString *list, size_t listCount, const csString &defaultValue, EEditInputboxManager::iSelectList *callback, const csVector2 &pos) |
| Pops up the select list dialog. | |
| virtual | ~EEditSelectList () |
A dialog window to select from a list of values.
Definition at line 35 of file eeditselectlist.h.
| EEditSelectList::EEditSelectList | ( | ) |
| virtual EEditSelectList::~EEditSelectList | ( | ) | [virtual] |
| virtual bool EEditSelectList::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 void EEditSelectList::OnListAction | ( | pawsListBox * | selected, |
| int | status | ||
| ) | [virtual] |
Called whenever an item in a child list box is selected.
| selected | The listbox that has the item selected. |
| status | From listbox when a row is selected. |
Reimplemented from pawsWidget.
| virtual bool EEditSelectList::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
| void EEditSelectList::Select | ( | csString * | list, |
| size_t | listCount, | ||
| const csString & | defaultValue, | ||
| EEditInputboxManager::iSelectList * | callback, | ||
| const csVector2 & | pos | ||
| ) |
Pops up the select list dialog.
| list | the list of possible values. |
| listCount | the number of possible values. |
| defaultValue | the default value. |
| callback | a pointer to the callback that should be called on selection. |
| pos | Selected position. |
1.7.3