1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Warnings: Add missing overrides

This commit is contained in:
reuk 2024-01-24 12:00:28 +00:00
parent 6c32c4df87
commit 047448fbce
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
84 changed files with 630 additions and 627 deletions

View file

@ -101,14 +101,14 @@ public:
{
}
bool perform()
bool perform() override
{
showCorrectTab();
getElement()->setPosition (newState, false);
return true;
}
bool undo()
bool undo() override
{
showCorrectTab();
getElement()->setPosition (oldState, false);
@ -128,14 +128,14 @@ public:
{
}
bool perform()
bool perform() override
{
showCorrectTab();
getElement()->setBounds (newBounds);
return true;
}
bool undo()
bool undo() override
{
showCorrectTab();
getElement()->setBounds (oldBounds);
@ -159,7 +159,7 @@ public:
{
}
bool perform()
bool perform() override
{
showCorrectTab();
@ -170,7 +170,7 @@ public:
return true;
}
bool undo()
bool undo() override
{
showCorrectTab();
@ -309,7 +309,7 @@ public:
listener.setPropertyToRefresh (*this);
}
void setPosition (const RelativePositionedRectangle& newPos)
void setPosition (const RelativePositionedRectangle& newPos) override
{
if (element->getOwner()->getSelectedElements().getNumSelected() > 1)
positionOtherSelectedElements (getPosition(), newPos);
@ -317,7 +317,7 @@ public:
listener.owner->setPosition (newPos, true);
}
RelativePositionedRectangle getPosition() const
RelativePositionedRectangle getPosition() const override
{
return listener.owner->getPosition();
}