1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added some 'override' modifiers to overridden methods.

This commit is contained in:
jules 2013-06-23 23:09:52 +01:00
parent 7bd867794c
commit c75a7300f5
140 changed files with 584 additions and 589 deletions

View file

@ -72,7 +72,7 @@ public:
}
}
void paint (Graphics& g)
void paint (Graphics& g) override
{
if (isOpaque())
g.fillAll (Colours::white);
@ -81,7 +81,7 @@ public:
g.drawImageAt (image, 0, 0);
}
void mouseUp (const MouseEvent& e)
void mouseUp (const MouseEvent& e) override
{
if (e.originalComponent != this)
{
@ -114,7 +114,7 @@ public:
}
}
void mouseDrag (const MouseEvent& e)
void mouseDrag (const MouseEvent& e) override
{
if (e.originalComponent != this)
updateLocation (true, e.getScreenPosition());
@ -157,7 +157,7 @@ public:
}
}
void timerCallback()
void timerCallback() override
{
if (sourceDetails.sourceComponent == nullptr)
{