JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
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

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