upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
		@ -203,7 +203,7 @@ void Graphics::setGradientFill (const ColourGradient& gradient)
 | 
			
		||||
 | 
			
		||||
void Graphics::setGradientFill (ColourGradient&& gradient)
 | 
			
		||||
{
 | 
			
		||||
    setFillType (static_cast<ColourGradient&&> (gradient));
 | 
			
		||||
    setFillType (std::move (gradient));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Graphics::setTiledImageFill (const Image& imageToUse, const int anchorX, const int anchorY, const float opacity)
 | 
			
		||||
@ -273,7 +273,8 @@ void Graphics::drawSingleLineText (const String& text, const int startX, const i
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Graphics::drawMultiLineText (const String& text, const int startX,
 | 
			
		||||
                                  const int baselineY, const int maximumLineWidth) const
 | 
			
		||||
                                  const int baselineY, const int maximumLineWidth,
 | 
			
		||||
                                  Justification justification) const
 | 
			
		||||
{
 | 
			
		||||
    if (text.isNotEmpty()
 | 
			
		||||
         && startX < context.getClipBounds().getRight())
 | 
			
		||||
@ -281,7 +282,7 @@ void Graphics::drawMultiLineText (const String& text, const int startX,
 | 
			
		||||
        GlyphArrangement arr;
 | 
			
		||||
        arr.addJustifiedText (context.getFont(), text,
 | 
			
		||||
                              (float) startX, (float) baselineY, (float) maximumLineWidth,
 | 
			
		||||
                              Justification::left);
 | 
			
		||||
                              justification);
 | 
			
		||||
        arr.draw (*this);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -145,7 +145,8 @@ public:
 | 
			
		||||
    */
 | 
			
		||||
    void drawMultiLineText (const String& text,
 | 
			
		||||
                            int startX, int baselineY,
 | 
			
		||||
                            int maximumLineWidth) const;
 | 
			
		||||
                            int maximumLineWidth,
 | 
			
		||||
                            Justification justification = Justification::left) const;
 | 
			
		||||
 | 
			
		||||
    /** Draws a line of text within a specified rectangle.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -351,8 +351,8 @@ void LowLevelGraphicsPostScriptRenderer::fillRect (const Rectangle<float>& r)
 | 
			
		||||
        writeClip();
 | 
			
		||||
        writeColour (stateStack.getLast()->fillType.colour);
 | 
			
		||||
 | 
			
		||||
        Rectangle<float> r2 (r.translated ((float) stateStack.getLast()->xOffset,
 | 
			
		||||
                                           (float) stateStack.getLast()->yOffset));
 | 
			
		||||
        auto r2 = r.translated ((float) stateStack.getLast()->xOffset,
 | 
			
		||||
                                (float) stateStack.getLast()->yOffset);
 | 
			
		||||
 | 
			
		||||
        out << r2.getX() << ' ' << -r2.getBottom() << ' ' << r2.getWidth() << ' ' << r2.getHeight() << " rectfill\n";
 | 
			
		||||
    }
 | 
			
		||||
@ -401,7 +401,7 @@ void LowLevelGraphicsPostScriptRenderer::fillPath (const Path& path, const Affin
 | 
			
		||||
            out << "clip\n";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        const Rectangle<int> bounds (stateStack.getLast()->clip.getBounds());
 | 
			
		||||
        auto bounds = stateStack.getLast()->clip.getBounds();
 | 
			
		||||
 | 
			
		||||
        // ideally this would draw lots of lines or ellipses to approximate the gradient, but for the
 | 
			
		||||
        // time-being, this just fills it with the average colour..
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,7 @@ public:
 | 
			
		||||
                                        int totalWidth,
 | 
			
		||||
                                        int totalHeight);
 | 
			
		||||
 | 
			
		||||
    ~LowLevelGraphicsPostScriptRenderer();
 | 
			
		||||
    ~LowLevelGraphicsPostScriptRenderer() override;
 | 
			
		||||
 | 
			
		||||
    //==============================================================================
 | 
			
		||||
    bool isVectorDevice() const override;
 | 
			
		||||
 | 
			
		||||
@ -49,7 +49,7 @@ public:
 | 
			
		||||
                                      const RectangleList<int>& initialClip);
 | 
			
		||||
 | 
			
		||||
    /** Destructor. */
 | 
			
		||||
    ~LowLevelGraphicsSoftwareRenderer();
 | 
			
		||||
    ~LowLevelGraphicsSoftwareRenderer() override;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LowLevelGraphicsSoftwareRenderer)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user