|
|
@@ -137,7 +137,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;
|
|
|
@@ -145,9 +146,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();
|
|
|
|
}
|
|
|
@@ -159,7 +160,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;
|
|
|
@@ -167,9 +169,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();
|
|
|
|
}
|
|
|
|