| 38 | } |
| 39 | |
| 40 | void LAlertWindow::queryText(AlertIconType iconType, const String &title, const String &textMessage, const String &textAreaContent, const String &textAreaLabel, const String &button1Text, const String &button2Text, bool isContentPassword, luabind::object const &result) |
| 41 | { |
| 42 | AlertWindow w(title, textMessage, iconType, 0); |
| 43 | w.addTextEditor ("userInput", textAreaContent, textAreaLabel, isContentPassword); |
| 44 | w.addButton (button1Text, 1); |
| 45 | w.addButton (button2Text, 0); |
| 46 | result[1] = w.runModalLoop(); |
| 47 | result[2] = w.getTextEditorContents("userInput"); |
| 48 | } |
| 49 | |
| 50 | ComboBox *LAlertWindow::getComboBoxComponent(const String &comboName) |
| 51 | { |
nothing calls this directly
no test coverage detected