An object that represents a graphics context.
Definition GraphicsContext.hpp:45
Base template for the event class.
Definition Event.hpp:27
A definition of the fundamental behavior for controls, which are specialized views that notify your a...
Definition UIControl.hpp:30
UIControl()
Definition UIControl.hpp:219
A display of a bar representing a continuous range of numerical values and a knob representing the cu...
Definition UISlider.hpp:29
UIColor mMinimumTrackTintColor
The color used to tint the slider's minimum track.
Definition UISlider.hpp:81
double clamp(double value) const
double mMinimumValue
The minimum value of the slider.
Definition UISlider.hpp:52
void mouseDragged(const UIMouseEvent &event) override
Informs the receiver that the user has moved the mouse with the left button pressed.
static const UIColorAppearanceProperty startingShadowColorProperty
Definition UISlider.hpp:165
void setMinimumTrackTintColor(UIColor minimumTrackTintColor)
The color used to tint the slider's minimum track.
void keyDown(const UIKeyEvent &event) override
Informs the receiver that the user has pressed a key.
void setMaximumTrackTintColor(UIColor maximumTrackTintColor)
The color used to tint the slider's maximum track.
bool mIsContinuous
A Boolean value indicating whether changes in the slider's value generate continuous update events.
Definition UISlider.hpp:75
double mMaximumValue
The maximum value of the slider.
Definition UISlider.hpp:64
void scrollWheel(const UIMouseEvent &event) override
Informs the receiver that the mouse's scroll wheel has moved.
virtual UIRect calcThumbRect(const UIRect &bounds) const
static const UIColorAppearanceProperty thumbStrokeColorProperty
Definition UISlider.hpp:169
static const UIColorAppearanceProperty endingShadowColorProperty
Definition UISlider.hpp:166
bool needsPanelToBecomeKey() const override
The default value of this property is false.
Definition UISlider.hpp:143
static const UIColorAppearanceProperty thumbColorProperty
Definition UISlider.hpp:170
void draw(UIGraphicsContext &context, const UIRect &dirtyRect) override
Displays the view and all its subviews if possible.
UIColor mMaximumTrackTintColor
The color used to tint the slider's maximum track.
Definition UISlider.hpp:84
void setContinuous(bool isContinuous)
A Boolean value indicating whether changes in the slider's value generate continuous update events.
void setValue(double value)
The slider's current value.
bool isContinuous() const
A Boolean value indicating whether changes in the slider's value generate continuous update events.
Definition UISlider.hpp:113
double getMinimumValue() const
The minimum value of the slider.
Definition UISlider.hpp:101
UIColor getMinimumTrackTintColor() const
The color used to tint the slider's minimum track.
Definition UISlider.hpp:125
static const UIColorAppearanceProperty startingThumbColorProperty
Definition UISlider.hpp:171
UIColor getMaximumTrackTintColor() const
The color used to tint the slider's maximum track.
Definition UISlider.hpp:131
void setThumbTintColor(UIColor thumbTintColor)
The color used to tint the slider's thumb.
void setMaximumValue(double maximumValue)
The maximum value of the slider.
double mValue
The slider's current value.
Definition UISlider.hpp:40
double getValue() const
The slider's current value.
Definition UISlider.hpp:95
static const UIColorAppearanceProperty endingThumbColorProperty
Definition UISlider.hpp:172
UISize getIntrinsicContentSize() const override
The natural size for the receiving view, considering only properties of the view itself.
static const UIColorAppearanceProperty startingThumbShadowColorProperty
Definition UISlider.hpp:167
void mouseDown(const UIMouseEvent &event) override
Informs the receiver that the user has pressed the left mouse button.
UIColor getThumbTintColor() const
The color used to tint the slider's thumb.
Definition UISlider.hpp:119
void setMinimumValue(double minimumValue)
The minimum value of the slider.
static const UIColorAppearanceProperty endingThumbShadowColorProperty
Definition UISlider.hpp:168
double getMaximumValue() const
The maximum value of the slider.
Definition UISlider.hpp:107
Event< void(double)> didChangeValue
Definition UISlider.hpp:87
UIColor mThumbTintColor
The color used to tint the slider's thumb.
Definition UISlider.hpp:78
Definition Application.hpp:19
Color UIColor
Definition UIUtility.hpp:187
Size2 UISize
A type that contains width and height values.
Definition UIUtility.hpp:30
Rect2 UIRect
A structure that contains the location and dimensions of a rectangle.
Definition UIUtility.hpp:33
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A UI appearance property that returns a color.
Definition UIAppearance.hpp:30
Definition UIEvent.hpp:129
Definition UIEvent.hpp:173