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" annotations.

This commit is contained in:
jules 2013-07-08 19:05:14 +01:00
parent 23f59fd99c
commit 5918d039ce
53 changed files with 245 additions and 248 deletions

View file

@ -31,13 +31,13 @@ public:
setWantsKeyboardFocus (false);
}
void paintButton (Graphics& g, bool over, bool down)
void paintButton (Graphics& g, bool over, bool down) override
{
getLookAndFeel().drawScrollbarButton (g, owner, getWidth(), getHeight(),
direction, owner.isVertical(), over, down);
}
void clicked()
void clicked() override
{
owner.moveScrollbarInSteps ((direction == 1 || direction == 2) ? 1 : -1);
}