11#ifndef __AUDACITY_NOTE_TRACK_SLIDER_HANDLES__
12#define __AUDACITY_NOTE_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<VelocitySliderHandle> &holder,
49 const wxMouseState &state,
const wxRect &rect,
50 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...
A Track that is used for Midi notes. (Somewhat old code).
LWSlider *(*)(AudacityProject *, const wxRect &, Track *) SliderFn
Holds a msgid for the translation catalog; may also bind format arguments.
VelocitySliderHandle & operator=(const VelocitySliderHandle &)=default
std::shared_ptr< NoteTrack > GetNoteTrack() const
TranslatableString Tip(const wxMouseState &state, AudacityProject &) const override
Result SetValue(AudacityProject *pProject, float newValue) override
Result CommitChanges(const wxMouseEvent &event, AudacityProject *pProject) override
VelocitySliderHandle(const VelocitySliderHandle &)=delete
bool StopsOnKeystroke() override
virtual ~VelocitySliderHandle()
static UIHandlePtr HitTest(std::weak_ptr< VelocitySliderHandle > &holder, const wxMouseState &state, const wxRect &rect, const std::shared_ptr< Track > &pTrack)
float GetValue() override