| @@ -40,8 +40,6 @@ AudioProcessorEditor::AudioProcessorEditor (AudioProcessor* p) noexcept : proce | |||||
| AudioProcessorEditor::~AudioProcessorEditor() | AudioProcessorEditor::~AudioProcessorEditor() | ||||
| { | { | ||||
| splashScreen.deleteAndZero(); | |||||
| // if this fails, then the wrapper hasn't called editorBeingDeleted() on the | // if this fails, then the wrapper hasn't called editorBeingDeleted() on the | ||||
| // filter for some reason.. | // filter for some reason.. | ||||
| jassert (processor.getActiveEditor() != this); | jassert (processor.getActiveEditor() != this); | ||||
| @@ -56,23 +54,6 @@ void AudioProcessorEditor::hostMIDIControllerIsAvailable (bool) { | |||||
| void AudioProcessorEditor::initialise() | void AudioProcessorEditor::initialise() | ||||
| { | { | ||||
| /* | |||||
| ========================================================================== | |||||
| In accordance with the terms of the JUCE 7 End-Use License Agreement, the | |||||
| JUCE Code in SECTION A cannot be removed, changed or otherwise rendered | |||||
| ineffective unless you have a JUCE Indie or Pro license, or are using | |||||
| JUCE under the GPL v3 license. | |||||
| End User License Agreement: www.juce.com/juce-7-licence | |||||
| ========================================================================== | |||||
| */ | |||||
| // BEGIN SECTION A | |||||
| splashScreen = new JUCESplashScreen (*this); | |||||
| // END SECTION A | |||||
| attachConstrainer (&defaultConstrainer); | attachConstrainer (&defaultConstrainer); | ||||
| resizeListener.reset (new AudioProcessorEditorListener (*this)); | resizeListener.reset (new AudioProcessorEditorListener (*this)); | ||||
| addComponentListener (resizeListener.get()); | addComponentListener (resizeListener.get()); | ||||
| @@ -252,7 +252,6 @@ private: | |||||
| ComponentBoundsConstrainer defaultConstrainer; | ComponentBoundsConstrainer defaultConstrainer; | ||||
| ComponentBoundsConstrainer* constrainer = nullptr; | ComponentBoundsConstrainer* constrainer = nullptr; | ||||
| AudioProcessorEditorHostContext* hostContext = nullptr; | AudioProcessorEditorHostContext* hostContext = nullptr; | ||||
| Component::SafePointer<Component> splashScreen; | |||||
| AffineTransform hostScaleTransform; | AffineTransform hostScaleTransform; | ||||
| JUCE_DECLARE_NON_COPYABLE (AudioProcessorEditor) | JUCE_DECLARE_NON_COPYABLE (AudioProcessorEditor) | ||||
| @@ -305,7 +305,6 @@ | |||||
| #include "misc/juce_BubbleComponent.cpp" | #include "misc/juce_BubbleComponent.cpp" | ||||
| #include "misc/juce_DropShadower.cpp" | #include "misc/juce_DropShadower.cpp" | ||||
| #include "misc/juce_FocusOutline.cpp" | #include "misc/juce_FocusOutline.cpp" | ||||
| #include "misc/juce_JUCESplashScreen.cpp" | |||||
| #include "mouse/juce_ComponentDragger.cpp" | #include "mouse/juce_ComponentDragger.cpp" | ||||
| #include "mouse/juce_DragAndDropContainer.cpp" | #include "mouse/juce_DragAndDropContainer.cpp" | ||||
| #include "mouse/juce_MouseEvent.cpp" | #include "mouse/juce_MouseEvent.cpp" | ||||
| @@ -276,7 +276,6 @@ namespace juce | |||||
| #include "buttons/juce_ToolbarButton.h" | #include "buttons/juce_ToolbarButton.h" | ||||
| #include "misc/juce_DropShadower.h" | #include "misc/juce_DropShadower.h" | ||||
| #include "misc/juce_FocusOutline.h" | #include "misc/juce_FocusOutline.h" | ||||
| #include "misc/juce_JUCESplashScreen.h" | |||||
| #include "widgets/juce_TreeView.h" | #include "widgets/juce_TreeView.h" | ||||
| #include "windows/juce_TopLevelWindow.h" | #include "windows/juce_TopLevelWindow.h" | ||||
| #include "windows/juce_MessageBoxOptions.h" | #include "windows/juce_MessageBoxOptions.h" | ||||
| @@ -41,8 +41,6 @@ ResizableWindow::ResizableWindow (const String& name, Colour bkgnd, bool shouldA | |||||
| ResizableWindow::~ResizableWindow() | ResizableWindow::~ResizableWindow() | ||||
| { | { | ||||
| splashScreen.deleteAndZero(); | |||||
| // Don't delete or remove the resizer components yourself! They're managed by the | // Don't delete or remove the resizer components yourself! They're managed by the | ||||
| // ResizableWindow, and you should leave them alone! You may have deleted them | // ResizableWindow, and you should leave them alone! You may have deleted them | ||||
| // accidentally by careless use of deleteAllChildren()..? | // accidentally by careless use of deleteAllChildren()..? | ||||
| @@ -60,27 +58,6 @@ ResizableWindow::~ResizableWindow() | |||||
| void ResizableWindow::initialise (const bool shouldAddToDesktop) | void ResizableWindow::initialise (const bool shouldAddToDesktop) | ||||
| { | { | ||||
| /* | |||||
| ========================================================================== | |||||
| In accordance with the terms of the JUCE 7 End-Use License Agreement, the | |||||
| JUCE Code in SECTION A cannot be removed, changed or otherwise rendered | |||||
| ineffective unless you have a JUCE Indie or Pro license, or are using | |||||
| JUCE under the GPL v3 license. | |||||
| End User License Agreement: www.juce.com/juce-7-licence | |||||
| ========================================================================== | |||||
| */ | |||||
| // BEGIN SECTION A | |||||
| #if ! JucePlugin_Build_Standalone | |||||
| splashScreen = new JUCESplashScreen (*this); | |||||
| #endif | |||||
| // END SECTION A | |||||
| defaultConstrainer.setMinimumOnscreenAmounts (0x10000, 16, 24, 16); | defaultConstrainer.setMinimumOnscreenAmounts (0x10000, 16, 24, 16); | ||||
| lastNonFullScreenPos.setBounds (50, 50, 256, 256); | lastNonFullScreenPos.setBounds (50, 50, 256, 256); | ||||
| @@ -391,7 +391,7 @@ protected: | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| Component::SafePointer<Component> contentComponent, splashScreen; | |||||
| Component::SafePointer<Component> contentComponent; | |||||
| bool ownsContentComponent = false, resizeToFitContent = false, fullscreen = false, canDrag = true, dragStarted = false; | bool ownsContentComponent = false, resizeToFitContent = false, fullscreen = false, canDrag = true, dragStarted = false; | ||||
| ComponentDragger dragger; | ComponentDragger dragger; | ||||
| Rectangle<int> lastNonFullScreenPos; | Rectangle<int> lastNonFullScreenPos; | ||||