|
|
@@ -134,7 +134,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;
|
|
|
@@ -142,9 +143,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();
|
|
|
|
}
|
|
|
@@ -156,7 +157,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;
|
|
|
@@ -164,9 +166,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();
|
|
|
|
}
|
|
|
|