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

Updated a few Slider lookandfeel methods to take a Slider& as a parameter.

This commit is contained in:
jules 2013-11-10 18:08:42 +00:00
parent 1113e17186
commit 4e61bdb9e4
6 changed files with 31 additions and 23 deletions

View file

@ -449,15 +449,15 @@ void LookAndFeel_V1::drawLinearSlider (Graphics& g,
}
}
Button* LookAndFeel_V1::createSliderButton (const bool isIncrement)
Button* LookAndFeel_V1::createSliderButton (Slider&, const bool isIncrement)
{
if (isIncrement)
return new ArrowButton ("u", 0.75f, Colours::white.withAlpha (0.8f));
else
return new ArrowButton ("d", 0.25f, Colours::white.withAlpha (0.8f));
return new ArrowButton ("d", 0.25f, Colours::white.withAlpha (0.8f));
}
ImageEffectFilter* LookAndFeel_V1::getSliderEffect()
ImageEffectFilter* LookAndFeel_V1::getSliderEffect (Slider&)
{
return &scrollbarShadow;
}