11#ifndef __AUDACITY_NOTE_TRACK_SLIDER_HANDLES__
12#define __AUDACITY_NOTE_TRACK_SLIDER_HANDLES__
14#ifdef EXPERIMENTAL_MIDI_OUT
16#include "../../../ui/SliderHandle.h"
23 VelocitySliderHandle(
const VelocitySliderHandle&) =
delete;
25 std::shared_ptr<NoteTrack> GetNoteTrack()
const;
28 explicit VelocitySliderHandle
29 ( SliderFn sliderFn,
const wxRect &rect,
30 const std::shared_ptr<Track> &pTrack );
32 VelocitySliderHandle &
operator=(
const VelocitySliderHandle&) =
default;
34 virtual ~VelocitySliderHandle();
50 (std::weak_ptr<VelocitySliderHandle> &holder,
51 const wxMouseState &state,
const wxRect &rect,
52 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).
virtual Result SetValue(AudacityProject *pProject, float newValue)=0
SliderHandle & operator=(const SliderHandle &)=default
virtual TranslatableString Tip(const wxMouseState &state, AudacityProject &project) const =0
virtual Result CommitChanges(const wxMouseEvent &event, AudacityProject *pProject)=0
virtual float GetValue()=0
Holds a msgid for the translation catalog; may also bind format arguments.
virtual bool StopsOnKeystroke()