Build fixes for Juce 6

This commit is contained in:
xenakios
2020-12-11 04:02:36 +02:00
parent 8bfd8557b7
commit 7d9ed352a1
4 changed files with 21 additions and 5 deletions

View File

@ -447,6 +447,20 @@ class PaulstretchpluginAudioProcessorEditor : public AudioProcessorEditor,
public:
PaulstretchpluginAudioProcessorEditor (PaulstretchpluginAudioProcessor&);
~PaulstretchpluginAudioProcessorEditor();
/*
void parentHierarchyChanged() override {
if (JUCEApplicationBase::isStandaloneApp()) {
auto* comp = getTopLevelComponent();
if (auto window = dynamic_cast<DocumentWindow*>(comp)) {
window->setUsingNativeTitleBar(true);
window->setResizable(true, false);
window->setTitleBarButtonsRequired(DocumentWindow::TitleBarButtons::allButtons, false);
window->setSize(800, 600);
}
}
}
*/
void paint (Graphics&) override;
void resized() override;
void timerCallback(int id) override;