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:
parent
1113e17186
commit
4e61bdb9e4
6 changed files with 31 additions and 23 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue