kopia lustrzana https://github.com/jameshball/osci-render
rodzic
6194b039f3
commit
2f671f653a
|
@ -113,11 +113,16 @@ OscirenderAudioProcessorEditor::OscirenderAudioProcessorEditor(OscirenderAudioPr
|
|||
};
|
||||
|
||||
visualiserSettingsWindow.setResizable(false, false);
|
||||
#if JUCE_WINDOWS
|
||||
// if not standalone, use native title bar for compatibility with DAWs
|
||||
visualiserSettingsWindow.setUsingNativeTitleBar(processor.wrapperType == juce::AudioProcessor::WrapperType::wrapperType_Standalone);
|
||||
#elif JUCE_MAC
|
||||
visualiserSettingsWindow.setUsingNativeTitleBar(true);
|
||||
#endif
|
||||
visualiserSettings.setLookAndFeel(&getLookAndFeel());
|
||||
visualiserSettings.setSize(550, 260);
|
||||
visualiserSettings.setSize(550, 280);
|
||||
visualiserSettingsWindow.setContentNonOwned(&visualiserSettings, true);
|
||||
visualiserSettingsWindow.centreWithSize(550, 260);
|
||||
visualiserSettingsWindow.centreWithSize(550, 280);
|
||||
|
||||
tooltipDropShadow.setOwner(&tooltipWindow);
|
||||
}
|
||||
|
|
|
@ -74,11 +74,16 @@ void MainMenuBarModel::menuItemSelected(int menuItemID, int topLevelMenuIndex) {
|
|||
juce::DialogWindow::LaunchOptions options;
|
||||
AboutComponent* about = new AboutComponent();
|
||||
options.content.setOwned(about);
|
||||
options.content->setSize(500, 250);
|
||||
options.content->setSize(500, 270);
|
||||
options.dialogTitle = "About";
|
||||
options.dialogBackgroundColour = Colours::dark;
|
||||
options.escapeKeyTriggersCloseButton = true;
|
||||
#if JUCE_WINDOWS
|
||||
// if not standalone, use native title bar for compatibility with DAWs
|
||||
options.useNativeTitleBar = editor.processor.wrapperType == juce::AudioProcessor::WrapperType::wrapperType_Standalone;
|
||||
#elif JUCE_MAC
|
||||
options.useNativeTitleBar = true;
|
||||
#endif
|
||||
options.resizable = false;
|
||||
|
||||
juce::DialogWindow* dw = options.launchAsync();
|
||||
|
|
Ładowanie…
Reference in New Issue