JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Slider::LookAndFeelMethods Struct Referenceabstract

This abstract base class is implemented by LookAndFeel classes to provide slider drawing functionality. More...

#include <juce_Slider.h>

Inheritance diagram for juce::Slider::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()=default
 
virtual ButtoncreateSliderButton (Slider &, bool isIncrement)=0
 
virtual LabelcreateSliderTextBox (Slider &)=0
 
virtual void drawLinearSlider (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &)=0
 
virtual void drawLinearSliderBackground (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle style, Slider &)=0
 
virtual void drawLinearSliderThumb (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &)=0
 
virtual void drawRotarySlider (Graphics &, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, Slider &)=0
 
virtual ImageEffectFiltergetSliderEffect (Slider &)=0
 
virtual SliderLayout getSliderLayout (Slider &)=0
 
virtual Font getSliderPopupFont (Slider &)=0
 
virtual int getSliderPopupPlacement (Slider &)=0
 
virtual int getSliderThumbRadius (Slider &)=0
 

Detailed Description

This abstract base class is implemented by LookAndFeel classes to provide slider drawing functionality.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual juce::Slider::LookAndFeelMethods::~LookAndFeelMethods ( )
virtualdefault

Member Function Documentation

◆ createSliderButton()

virtual Button* juce::Slider::LookAndFeelMethods::createSliderButton ( Slider ,
bool  isIncrement 
)
pure virtual

◆ createSliderTextBox()

virtual Label* juce::Slider::LookAndFeelMethods::createSliderTextBox ( Slider )
pure virtual

◆ drawLinearSlider()

virtual void juce::Slider::LookAndFeelMethods::drawLinearSlider ( Graphics ,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  ,
Slider  
)
pure virtual

◆ drawLinearSliderBackground()

virtual void juce::Slider::LookAndFeelMethods::drawLinearSliderBackground ( Graphics ,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  style,
Slider  
)
pure virtual

◆ drawLinearSliderThumb()

virtual void juce::Slider::LookAndFeelMethods::drawLinearSliderThumb ( Graphics ,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  ,
Slider  
)
pure virtual

Implemented in juce::LookAndFeel_V2.

◆ drawRotarySlider()

virtual void juce::Slider::LookAndFeelMethods::drawRotarySlider ( Graphics ,
int  x,
int  y,
int  width,
int  height,
float  sliderPosProportional,
float  rotaryStartAngle,
float  rotaryEndAngle,
Slider  
)
pure virtual

◆ getSliderEffect()

virtual ImageEffectFilter* juce::Slider::LookAndFeelMethods::getSliderEffect ( Slider )
pure virtual

◆ getSliderLayout()

virtual SliderLayout juce::Slider::LookAndFeelMethods::getSliderLayout ( Slider )
pure virtual

Implemented in juce::LookAndFeel_V2.

◆ getSliderPopupFont()

virtual Font juce::Slider::LookAndFeelMethods::getSliderPopupFont ( Slider )
pure virtual

Implemented in juce::LookAndFeel_V2.

◆ getSliderPopupPlacement()

virtual int juce::Slider::LookAndFeelMethods::getSliderPopupPlacement ( Slider )
pure virtual

Implemented in juce::LookAndFeel_V2.

◆ getSliderThumbRadius()

virtual int juce::Slider::LookAndFeelMethods::getSliderThumbRadius ( Slider )
pure virtual

The documentation for this struct was generated from the following file: