Browse Source

Remove splash screen

Signed-off-by: falkTX <falktx@falktx.com>
v7.0.9-distrho
falkTX 2 years ago
parent
commit
0782004ee1
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
6 changed files with 1 additions and 46 deletions
  1. +0
    -19
      modules/juce_audio_processors/processors/juce_AudioProcessorEditor.cpp
  2. +0
    -1
      modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h
  3. +0
    -1
      modules/juce_gui_basics/juce_gui_basics.cpp
  4. +0
    -1
      modules/juce_gui_basics/juce_gui_basics.h
  5. +0
    -23
      modules/juce_gui_basics/windows/juce_ResizableWindow.cpp
  6. +1
    -1
      modules/juce_gui_basics/windows/juce_ResizableWindow.h

+ 0
- 19
modules/juce_audio_processors/processors/juce_AudioProcessorEditor.cpp View File

@@ -40,8 +40,6 @@ AudioProcessorEditor::AudioProcessorEditor (AudioProcessor* p) noexcept : proce
AudioProcessorEditor::~AudioProcessorEditor()
{
splashScreen.deleteAndZero();
// if this fails, then the wrapper hasn't called editorBeingDeleted() on the
// filter for some reason..
jassert (processor.getActiveEditor() != this);
@@ -56,23 +54,6 @@ void AudioProcessorEditor::hostMIDIControllerIsAvailable (bool) {
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);
resizeListener.reset (new AudioProcessorEditorListener (*this));
addComponentListener (resizeListener.get());


+ 0
- 1
modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h View File

@@ -252,7 +252,6 @@ private:
ComponentBoundsConstrainer defaultConstrainer;
ComponentBoundsConstrainer* constrainer = nullptr;
AudioProcessorEditorHostContext* hostContext = nullptr;
Component::SafePointer<Component> splashScreen;
AffineTransform hostScaleTransform;
JUCE_DECLARE_NON_COPYABLE (AudioProcessorEditor)


+ 0
- 1
modules/juce_gui_basics/juce_gui_basics.cpp View File

@@ -305,7 +305,6 @@
#include "misc/juce_BubbleComponent.cpp"
#include "misc/juce_DropShadower.cpp"
#include "misc/juce_FocusOutline.cpp"
#include "misc/juce_JUCESplashScreen.cpp"
#include "mouse/juce_ComponentDragger.cpp"
#include "mouse/juce_DragAndDropContainer.cpp"
#include "mouse/juce_MouseEvent.cpp"


+ 0
- 1
modules/juce_gui_basics/juce_gui_basics.h View File

@@ -276,7 +276,6 @@ namespace juce
#include "buttons/juce_ToolbarButton.h"
#include "misc/juce_DropShadower.h"
#include "misc/juce_FocusOutline.h"
#include "misc/juce_JUCESplashScreen.h"
#include "widgets/juce_TreeView.h"
#include "windows/juce_TopLevelWindow.h"
#include "windows/juce_MessageBoxOptions.h"


+ 0
- 23
modules/juce_gui_basics/windows/juce_ResizableWindow.cpp View File

@@ -41,8 +41,6 @@ ResizableWindow::ResizableWindow (const String& name, Colour bkgnd, bool shouldA
ResizableWindow::~ResizableWindow()
{
splashScreen.deleteAndZero();
// 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
// accidentally by careless use of deleteAllChildren()..?
@@ -60,27 +58,6 @@ ResizableWindow::~ResizableWindow()
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);
lastNonFullScreenPos.setBounds (50, 50, 256, 256);


+ 1
- 1
modules/juce_gui_basics/windows/juce_ResizableWindow.h View File

@@ -391,7 +391,7 @@ protected:
private:
//==============================================================================
Component::SafePointer<Component> contentComponent, splashScreen;
Component::SafePointer<Component> contentComponent;
bool ownsContentComponent = false, resizeToFitContent = false, fullscreen = false, canDrag = true, dragStarted = false;
ComponentDragger dragger;
Rectangle<int> lastNonFullScreenPos;


Loading…
Cancel
Save