11#ifndef __AUDACITY_WAVE_TRACK_SLIDER_HANDLES__
12#define __AUDACITY_WAVE_TRACK_SLIDER_HANDLES__
14#include "../../../ui/SliderHandle.h"
27 (
SliderFn sliderFn,
const wxRect &rect,
28 const std::shared_ptr<Track> &pTrack );
48 (std::weak_ptr<VolumeSliderHandle> &holder,
49 const wxMouseState &state,
const wxRect &rect,
50 const std::shared_ptr<Track> &pTrack);
63 (
SliderFn sliderFn,
const wxRect &rect,
64 const std::shared_ptr<Track> &pTrack );
83 (std::weak_ptr<PanSliderHandle> &holder,
84 const wxMouseState &state,
const wxRect &rect,
85 const std::shared_ptr<Track> &pTrack);
std::shared_ptr< UIHandle > UIHandlePtr
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
std::shared_ptr< WaveTrack > GetWaveTrack() const
bool StopsOnKeystroke() override
PanSliderHandle(const PanSliderHandle &)=delete
float GetValue() override
PanSliderHandle & operator=(const PanSliderHandle &)=default
Result CommitChanges(const wxMouseEvent &event, AudacityProject *pProject) override
TranslatableString Tip(const wxMouseState &state, AudacityProject &) const override
Result SetValue(AudacityProject *pProject, float newValue) override
static UIHandlePtr HitTest(std::weak_ptr< PanSliderHandle > &holder, const wxMouseState &state, const wxRect &rect, const std::shared_ptr< Track > &pTrack)
virtual ~PanSliderHandle()
LWSlider *(*)(AudacityProject *, const wxRect &, Track *) SliderFn
Holds a msgid for the translation catalog; may also bind format arguments.
Result SetValue(AudacityProject *pProject, float newValue) override
VolumeSliderHandle(const VolumeSliderHandle &)=delete
VolumeSliderHandle & operator=(const VolumeSliderHandle &)=default
std::shared_ptr< WaveTrack > GetWaveTrack() const
bool StopsOnKeystroke() override
static UIHandlePtr HitTest(std::weak_ptr< VolumeSliderHandle > &holder, const wxMouseState &state, const wxRect &rect, const std::shared_ptr< Track > &pTrack)
TranslatableString Tip(const wxMouseState &state, AudacityProject &) const override
virtual ~VolumeSliderHandle()
Result CommitChanges(const wxMouseEvent &event, AudacityProject *pProject) override
float GetValue() override
A Track that contains audio waveform data.