JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces
juce_Slider.h File Reference

Go to the source code of this file.

Classes

class  juce::Slider
 A slider control for changing a value. More...
 
struct  juce::Slider::RotaryParameters
 Structure defining rotary parameters for a slider. More...
 
class  juce::Slider::Listener
 A class for receiving callbacks from a Slider. More...
 
struct  juce::Slider::SliderLayout
 A struct defining the placement of the slider area and the text box area relative to the bounds of the whole Slider component. More...
 
class  juce::Slider::ScopedDragNotification
 An RAII class for sending slider listener drag messages. More...
 
struct  juce::Slider::LookAndFeelMethods
 This abstract base class is implemented by LookAndFeel classes to provide slider drawing functionality. More...
 

Namespaces

namespace  juce
 JUCE Namespace.
 

Class Documentation

◆ juce::Slider::RotaryParameters

struct juce::Slider::RotaryParameters

Structure defining rotary parameters for a slider.

Definition at line 144 of file juce_Slider.h.

Class Members
float endAngleRadians The angle (in radians, clockwise from the top) at which the slider's maximum value is represented.

This must be greater than startAngleRadians.

float startAngleRadians The angle (in radians, clockwise from the top) at which the slider's minimum value is represented.
bool stopAtEnd Determines what happens when a circular drag action rotates beyond the minimum or maximum angle.

If true, the value will stop changing until the mouse moves back the way it came; if false, the value will snap back to the value nearest to the mouse. Note that this has no effect if the drag mode is vertical or horizontal.

◆ juce::Slider::SliderLayout

struct juce::Slider::SliderLayout

A struct defining the placement of the slider area and the text box area relative to the bounds of the whole Slider component.

Definition at line 886 of file juce_Slider.h.

Class Members
Rectangle< int > sliderBounds
Rectangle< int > textBoxBounds