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::ScopedDragNotification Class Reference

An RAII class for sending slider listener drag messages. More...

#include <juce_Slider.h>

Collaboration diagram for juce::Slider::ScopedDragNotification:

Public Member Functions

 ScopedDragNotification (Slider &)
 
 ~ScopedDragNotification ()
 

Private Attributes

SlidersliderBeingDragged
 

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 )
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 file: