|
|
|
@@ -131,7 +131,8 @@ void DialogWindow::showDialog (const String& dialogTitle, |
|
|
|
Colour backgroundColour,
|
|
|
|
const bool escapeKeyTriggersCloseButton,
|
|
|
|
const bool resizable,
|
|
|
|
const bool useBottomRightCornerResizer)
|
|
|
|
const bool useBottomRightCornerResizer,
|
|
|
|
const bool useNativeTitleBar)
|
|
|
|
{
|
|
|
|
LaunchOptions o;
|
|
|
|
o.dialogTitle = dialogTitle;
|
|
|
|
@@ -139,9 +140,9 @@ void DialogWindow::showDialog (const String& dialogTitle, |
|
|
|
o.componentToCentreAround = componentToCentreAround;
|
|
|
|
o.dialogBackgroundColour = backgroundColour;
|
|
|
|
o.escapeKeyTriggersCloseButton = escapeKeyTriggersCloseButton;
|
|
|
|
o.useNativeTitleBar = false;
|
|
|
|
o.resizable = resizable;
|
|
|
|
o.useBottomRightCornerResizer = useBottomRightCornerResizer;
|
|
|
|
o.useNativeTitleBar = useNativeTitleBar;
|
|
|
|
|
|
|
|
o.launchAsync();
|
|
|
|
}
|
|
|
|
@@ -153,7 +154,8 @@ int DialogWindow::showModalDialog (const String& dialogTitle, |
|
|
|
Colour backgroundColour,
|
|
|
|
const bool escapeKeyTriggersCloseButton,
|
|
|
|
const bool resizable,
|
|
|
|
const bool useBottomRightCornerResizer)
|
|
|
|
const bool useBottomRightCornerResizer,
|
|
|
|
const bool useNativeTitleBar)
|
|
|
|
{
|
|
|
|
LaunchOptions o;
|
|
|
|
o.dialogTitle = dialogTitle;
|
|
|
|
@@ -161,9 +163,9 @@ int DialogWindow::showModalDialog (const String& dialogTitle, |
|
|
|
o.componentToCentreAround = componentToCentreAround;
|
|
|
|
o.dialogBackgroundColour = backgroundColour;
|
|
|
|
o.escapeKeyTriggersCloseButton = escapeKeyTriggersCloseButton;
|
|
|
|
o.useNativeTitleBar = false;
|
|
|
|
o.resizable = resizable;
|
|
|
|
o.useBottomRightCornerResizer = useBottomRightCornerResizer;
|
|
|
|
o.useNativeTitleBar = useNativeTitleBar;
|
|
|
|
|
|
|
|
return o.runModal();
|
|
|
|
}
|
|
|
|
|