Planeshift
|
pawsComboPromptWindow is window that lets the user choose item from combo box More...
#include <pawscombopromptwindow.h>
Public Member Functions | |
virtual void | Close () |
Simply calls Hide() unless overidden. | |
void | NewOption (const csString &text) |
bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
pawsComboPromptWindow (const pawsComboPromptWindow &origin) | |
pawsComboPromptWindow () | |
virtual bool | PostSetup () |
Executed after the widget is setup. | |
void | Select (int optionNum) |
void | SetAction (iOnItemChosenAction *action, const char *name, int param) |
Static Public Member Functions | |
static pawsComboPromptWindow * | Create (const csString &label, iOnItemChosenAction *action, const char *name, int param=0) |
Protected Attributes | |
iOnItemChosenAction * | action |
csString | name |
The name of this widget. | |
int | param |
ComboWrapper * | wrapper |
pawsComboPromptWindow is window that lets the user choose item from combo box
Definition at line 75 of file pawscombopromptwindow.h.
pawsComboPromptWindow::pawsComboPromptWindow | ( | ) |
pawsComboPromptWindow::pawsComboPromptWindow | ( | const pawsComboPromptWindow & | origin | ) |
virtual void pawsComboPromptWindow::Close | ( | ) | [virtual] |
Simply calls Hide() unless overidden.
Reimplemented from pawsWidget.
static pawsComboPromptWindow* pawsComboPromptWindow::Create | ( | const csString & | label, |
iOnItemChosenAction * | action, | ||
const char * | name, | ||
int | param = 0 |
||
) | [static] |
void pawsComboPromptWindow::NewOption | ( | const csString & | text | ) |
bool pawsComboPromptWindow::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 pawsComboPromptWindow::PostSetup | ( | ) | [virtual] |
void pawsComboPromptWindow::Select | ( | int | optionNum | ) |
void pawsComboPromptWindow::SetAction | ( | iOnItemChosenAction * | action, |
const char * | name, | ||
int | param | ||
) | [inline] |
Definition at line 88 of file pawscombopromptwindow.h.
iOnItemChosenAction* pawsComboPromptWindow::action [protected] |
Definition at line 98 of file pawscombopromptwindow.h.
csString pawsComboPromptWindow::name [protected] |
The name of this widget.
Reimplemented from pawsWidget.
Definition at line 99 of file pawscombopromptwindow.h.
int pawsComboPromptWindow::param [protected] |
Definition at line 100 of file pawscombopromptwindow.h.
ComboWrapper* pawsComboPromptWindow::wrapper [protected] |
Definition at line 102 of file pawscombopromptwindow.h.