Browse Source

Remove now unused juce license splashScreen components

tags/2018-04-16
falkTX 7 years ago
parent
commit
b8e70c2619
4 changed files with 1 additions and 6 deletions
  1. +0
    -2
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.cpp
  2. +0
    -1
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h
  3. +0
    -2
      libs/juce/source/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp
  4. +1
    -1
      libs/juce/source/modules/juce_gui_basics/windows/juce_ResizableWindow.h

+ 0
- 2
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.cpp View File

@@ -38,8 +38,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);


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

@@ -175,7 +175,6 @@ private:
bool resizable;
ComponentBoundsConstrainer defaultConstrainer;
ComponentBoundsConstrainer* constrainer = {};
Component::SafePointer<Component> splashScreen;
JUCE_DECLARE_NON_COPYABLE (AudioProcessorEditor)
};

+ 0
- 2
libs/juce/source/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp View File

@@ -40,8 +40,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()..?


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

@@ -382,7 +382,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