11#ifndef __AUDACITY_WAVE_TRACK_CONTROLS__
12#define __AUDACITY_WAVE_TRACK_CONTROLS__
14#include "../../ui/PlayableTrackControls.h"
39 std::vector<UIHandlePtr>
HitTest
47 static unsigned DefaultWaveTrackHeight();
48 static void GetVolumeRect(
const wxRect &rect, wxRect &dest);
49 static void GetPanRect(
const wxRect &rect, wxRect &dest);
53 (
const wxRect &sliderRect,
const WaveTrack *t,
bool captured,
58 (
const wxRect &sliderRect,
const WaveTrack *t,
bool captured,
74#include "../../../../widgets/PopupMenuTable.h"
std::vector< TrackInfo::TCPLine > TCPLines
AUDACITY_DLL_API WaveTrackPopupMenuTable & GetWaveTrackMenuTable()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Formerly part of TrackPanel, this abstract base class has no special knowledge of Track objects and i...
const TCPLines & GetTCPLines() const override
virtual std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *) override=0
virtual PopupMenuTable * GetMenuExtension(Track *pTrack)=0
Lightweight version of ASlider. In other words it does not have a window permanently associated with ...
Abstract base class for an object holding data associated with points on a time axis.
std::weak_ptr< MuteButtonHandle > mMuteHandle
std::weak_ptr< VolumeSliderHandle > mVolumeHandle
~WaveTrackControls() override
WaveTrackControls(std::shared_ptr< Track > pTrack)
std::weak_ptr< PanSliderHandle > mPanHandle
static void ReCreateSliders()
WaveTrackControls & operator=(const WaveTrackControls &)=delete
std::weak_ptr< EffectsButtonHandle > mEffectsHandle
WaveTrackControls(const WaveTrackControls &)=delete
std::weak_ptr< SoloButtonHandle > mSoloHandle
A Track that contains audio waveform data.