LMMS
Loading...
Searching...
No Matches
juce::Slider::ScopedDragNotification Class Reference

#include <juce_Slider.h>

Public Member Functions

 ScopedDragNotification (Slider &)
 ~ScopedDragNotification ()

Private Attributes

Slider & sliderBeingDragged

Detailed Description

An RAII class for sending slider listener drag messages.

This is useful if you are programmatically updating the slider's value and want to imitate a mouse event, for example in a custom AccessibilityHandler.

See also
Slider::Listener

Constructor & Destructor Documentation

◆ ScopedDragNotification()

juce::Slider::ScopedDragNotification::ScopedDragNotification ( Slider & s)
explicit

◆ ~ScopedDragNotification()

juce::Slider::ScopedDragNotification::~ScopedDragNotification ( )

Member Data Documentation

◆ sliderBeingDragged

Slider& juce::Slider::ScopedDragNotification::sliderBeingDragged
private

The documentation for this class was generated from the following files: