#include <npcstringdialog.h>

Definition at line 34 of file npcstringdialog.h.
Public Member Functions | |
| NpcStringDialog () | |
| Constructor. | |
| void | action (const gcn::ActionEvent &event) |
| Called when receiving actions from the widgets. | |
| std::string | getValue () |
| Returns the current value. | |
| void | setValue (const std::string &value) |
| Chnages the current value. | |
| bool | isInputFocused () |
| Checks whether NpcStringDialog is Focused or not. | |
| void | requestFocus () |
| Requests the textfield to take focus for input. | |
| void | setVisible (bool visible) |
| Overloads window setVisible by Guichan to allow sticky window handling. | |
Private Attributes | |
| gcn::TextField * | mValueField |
| std::string | mDefault |
| NpcStringDialog::NpcStringDialog | ( | ) |
| void NpcStringDialog::action | ( | const gcn::ActionEvent & | event | ) |
| std::string NpcStringDialog::getValue | ( | ) |
| void NpcStringDialog::setValue | ( | const std::string & | value | ) |
Chnages the current value.
| value | The new value |
Definition at line 64 of file npcstringdialog.cpp.
| bool NpcStringDialog::isInputFocused | ( | ) |
Checks whether NpcStringDialog is Focused or not.
Definition at line 92 of file npcstringdialog.cpp.
| void NpcStringDialog::requestFocus | ( | ) |
| void NpcStringDialog::setVisible | ( | bool | visible | ) |
Overloads window setVisible by Guichan to allow sticky window handling.
Reimplemented from Window.
Definition at line 102 of file npcstringdialog.cpp.
gcn::TextField* NpcStringDialog::mValueField [private] |
Definition at line 74 of file npcstringdialog.h.
std::string NpcStringDialog::mDefault [private] |
Definition at line 75 of file npcstringdialog.h.
1.5.5