| 201 | } |
| 202 | |
| 203 | String CtrlrLuaUtils::askForTextInputWindow (const String title, const String message, const String initialInputContent, const String onScreenLabel, const bool isPassword, const String button1Text, const String button2Text) |
| 204 | { |
| 205 | AlertWindow w(title, message, AlertWindow::QuestionIcon, 0); |
| 206 | w.addTextEditor ("userInput", initialInputContent, onScreenLabel, isPassword); |
| 207 | w.addButton (button1Text, 1); |
| 208 | w.addButton (button2Text, 0); |
| 209 | w.runModalLoop(); |
| 210 | return (w.getTextEditorContents("userInput")); |
| 211 | } |
| 212 | |
| 213 | StringArray CtrlrLuaUtils::getMidiInputDevices() |
| 214 | { |
nothing calls this directly
no test coverage detected