|
|
|
@@ -573,11 +573,15 @@ public: |
|
|
|
: DocumentWindow (title, backgroundColour, DocumentWindow::minimiseButton | DocumentWindow::closeButton),
|
|
|
|
optionsButton ("Options")
|
|
|
|
{
|
|
|
|
#if JUCE_IOS || JUCE_ANDROID
|
|
|
|
setTitleBarHeight (0);
|
|
|
|
#else
|
|
|
|
setTitleBarButtonsRequired (DocumentWindow::minimiseButton | DocumentWindow::closeButton, false);
|
|
|
|
|
|
|
|
Component::addAndMakeVisible (optionsButton);
|
|
|
|
optionsButton.addListener (this);
|
|
|
|
optionsButton.setTriggeredOnMouseDown (true);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pluginHolder = new StandalonePluginHolder (settingsToUse, takeOwnershipOfSettings,
|
|
|
|
preferredDefaultDeviceName, preferredSetupOptions,
|
|
|
|
|