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:
@ -64,7 +64,7 @@ void BubbleComponent::setPosition (Component* componentToPointTo, int distanceFr
|
||||
if (Component* p = getParentComponent())
|
||||
target = p->getLocalArea (componentToPointTo, componentToPointTo->getLocalBounds());
|
||||
else
|
||||
target = componentToPointTo->getScreenBounds();
|
||||
target = componentToPointTo->getScreenBounds().transformedBy (getTransform().inverted());
|
||||
|
||||
setPosition (target, distanceFromTarget, arrowLength);
|
||||
}
|
||||
@ -86,8 +86,8 @@ void BubbleComponent::setPosition (Rectangle<int> rectangleToPointTo,
|
||||
const int totalW = content.getWidth() + distanceFromTarget * 2;
|
||||
const int totalH = content.getHeight() + distanceFromTarget * 2;
|
||||
|
||||
const Rectangle<int> availableSpace (getParentComponent() != nullptr ? getParentComponent()->getLocalBounds()
|
||||
: getParentMonitorArea());
|
||||
auto availableSpace = (getParentComponent() != nullptr ? getParentComponent()->getLocalBounds()
|
||||
: getParentMonitorArea().transformedBy (getTransform().inverted()));
|
||||
|
||||
int spaceAbove = ((allowablePlacements & above) != 0) ? jmax (0, rectangleToPointTo.getY() - availableSpace.getY()) : -1;
|
||||
int spaceBelow = ((allowablePlacements & below) != 0) ? jmax (0, availableSpace.getBottom() - rectangleToPointTo.getBottom()) : -1;
|
||||
|
@ -57,7 +57,7 @@ protected:
|
||||
|
||||
public:
|
||||
/** Destructor. */
|
||||
~BubbleComponent();
|
||||
~BubbleComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
/** A list of permitted placements for the bubble, relative to the coordinates
|
||||
@ -150,7 +150,7 @@ public:
|
||||
*/
|
||||
struct JUCE_API LookAndFeelMethods
|
||||
{
|
||||
virtual ~LookAndFeelMethods() {}
|
||||
virtual ~LookAndFeelMethods() = default;
|
||||
|
||||
virtual void drawBubble (Graphics&, BubbleComponent&,
|
||||
const Point<float>& positionOfTip,
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
DropShadower (const DropShadow& shadowType);
|
||||
|
||||
/** Destructor. */
|
||||
~DropShadower();
|
||||
~DropShadower() override;
|
||||
|
||||
/** Attaches the DropShadower to the component you want to shadow. */
|
||||
void setOwner (Component* componentToFollow);
|
||||
|
@ -74,7 +74,7 @@ struct ReportingThreadContainer : public ChangeListener,
|
||||
public DeletedAtShutdown
|
||||
{
|
||||
ReportingThreadContainer() {}
|
||||
~ReportingThreadContainer() { clearSingletonInstance(); }
|
||||
~ReportingThreadContainer() override { clearSingletonInstance(); }
|
||||
|
||||
void sendReport (String, String&, StringPairArray&);
|
||||
void changeListenerCallback (ChangeBroadcaster*) override;
|
||||
@ -109,7 +109,7 @@ struct ReportingThread : public Thread,
|
||||
addChangeListener (&threadContainer);
|
||||
}
|
||||
|
||||
~ReportingThread()
|
||||
~ReportingThread() override
|
||||
{
|
||||
removeChangeListener (&threadContainer);
|
||||
|
||||
@ -294,7 +294,8 @@ std::unique_ptr<Drawable> JUCESplashScreen::getSplashScreenLogo()
|
||||
</svg>
|
||||
)JUCESPLASHSCREEN";
|
||||
|
||||
std::unique_ptr<XmlElement> svgXml (XmlDocument::parse (svgData));
|
||||
auto svgXml = parseXML (svgData);
|
||||
jassert (svgXml != nullptr);
|
||||
return std::unique_ptr<Drawable> (Drawable::createFromSVG (*svgXml));
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ class JUCE_API JUCESplashScreen : public Component,
|
||||
{
|
||||
public:
|
||||
JUCESplashScreen (Component& parentToAddTo);
|
||||
~JUCESplashScreen();
|
||||
~JUCESplashScreen() override;
|
||||
|
||||
static std::unique_ptr<Drawable> getSplashScreenLogo();
|
||||
|
||||
|
Reference in New Issue
Block a user