Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 27 files). Show all
Unified · Split
| @@ -522,7 +522,7 @@ int WindowScriptingInterface::openMessageBox(QString title, QString text, int bu · 521 unmodified lines | |||
| 522 | * <tr> <td><strong>RestoreDefaults</strong></td> <td><code>0x8000000</code></td> <td>"Restore Defaults"</td> </tr> | 522 | * <tr> <td><strong>RestoreDefaults</strong></td> <td><code>0x8000000</code></td> <td>"Restore Defaults"</td> </tr> |
| 523 | * </tbody> | 523 | * </tbody> |
| 524 | * </table> | 524 | * </table> |
| 525 | * @typedef Window.MessageBoxButton | 525 | * @typedef {number} Window.MessageBoxButton |
| 526 | */ | 526 | */ |
| 527 | int WindowScriptingInterface::createMessageBox(QString title, QString text, int buttons, int defaultButton) { | 527 | int WindowScriptingInterface::createMessageBox(QString title, QString text, int buttons, int defaultButton) { |
| 528 | auto messageBox = DependencyManager::get<OffscreenUi>()->createMessageBox(OffscreenUi::ICON_INFORMATION, title, text, | 528 | auto messageBox = DependencyManager::get<OffscreenUi>()->createMessageBox(OffscreenUi::ICON_INFORMATION, title, text, |