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:
parent
6c32c4df87
commit
047448fbce
84 changed files with 630 additions and 627 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue