![]() |
Audacity 3.2.0
|
#include <PlayableTrackControls.h>
Static Public Member Functions | |
static const TCPLines & | StaticNoteTCPLines () |
static const TCPLines & | StaticWaveTCPLines () |
static void | GetMuteSoloRect (const wxRect &rect, wxRect &dest, bool solo, bool bHasSoloButton, const Track *pTrack) |
static void | GetEffectsRect (const wxRect &rect, wxRect &dest, const Track *pTrack) |
![]() | |
static const TCPLines & | StaticTCPLines () |
![]() | |
static TrackControls & | Get (Track &track) |
static const TrackControls & | Get (const Track &track) |
![]() | |
static wxRect | MaximizeWidth (const wxRect &rect, const wxRect &panelRect) |
static wxRect | MaximizeHeight (const wxRect &rect, const wxRect &panelRect) |
Additional Inherited Members | |
![]() | |
virtual const TCPLines & | GetTCPLines () const |
TrackControls (std::shared_ptr< Track > pTrack) | |
![]() | |
TrackControls (std::shared_ptr< Track > pTrack) | |
virtual | ~TrackControls ()=0 |
![]() | |
CommonTrackCell (const std::shared_ptr< Track > &pTrack) | |
~CommonTrackCell () | |
std::shared_ptr< Track > | DoFindTrack () override |
void | Reparent (const std::shared_ptr< Track > &parent) override |
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it. More... | |
![]() | |
CommonTrackPanelCell () | |
virtual | ~CommonTrackPanelCell ()=0 |
HitTestPreview | DefaultPreview (const TrackPanelMouseState &, const AudacityProject *) override |
std::shared_ptr< Track > | FindTrack () |
std::shared_ptr< const Track > | FindTrack () const |
virtual std::vector< MenuItem > | GetMenuItems (const wxRect &rect, const wxPoint *pPosition, AudacityProject *pProject) |
Return a list of items for DoContextMenu() (empties for separators) More... | |
![]() | |
TrackPanelCell ()=default | |
TrackPanelCell (const TrackPanelCell &) PROHIBITED | |
TrackPanelCell & | operator= (const TrackPanelCell &) PROHIBITED |
virtual | ~TrackPanelCell ()=0 |
virtual HitTestPreview | DefaultPreview (const TrackPanelMouseState &state, const AudacityProject *pProject) |
virtual std::vector< UIHandlePtr > | HitTest (const TrackPanelMouseState &state, const AudacityProject *pProject)=0 |
virtual unsigned | HandleWheelRotation (const TrackPanelMouseEvent &event, AudacityProject *pProject) |
virtual std::shared_ptr< TrackPanelCell > | ContextMenuDelegate () |
virtual unsigned | DoContextMenu (const wxRect &rect, wxWindow *pParent, const wxPoint *pPosition, AudacityProject *pProject) |
virtual unsigned | CaptureKey (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) |
virtual unsigned | KeyDown (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) |
virtual unsigned | KeyUp (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) |
virtual unsigned | Char (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) |
virtual unsigned | LoseFocus (AudacityProject *project) |
![]() | |
TrackPanelNode () | |
virtual | ~TrackPanelNode ()=0 |
![]() | |
virtual | ~TrackPanelDrawable ()=0 |
virtual void | Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) |
virtual wxRect | DrawingArea (TrackPanelDrawingContext &context, const wxRect &rect, const wxRect &panelRect, unsigned iPass) |
![]() | |
virtual | ~TrackAttachment () |
virtual void | CopyTo (Track &track) const |
Copy state, for undo/redo purposes. More... | |
virtual void | Reparent (const std::shared_ptr< Track > &parent) |
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it. More... | |
virtual void | WriteXMLAttributes (XMLWriter &) const |
Serialize persistent attributes. More... | |
virtual bool | HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView) |
Deserialize an attribute, returning true if recognized. More... | |
![]() | |
virtual | ~Base () |
![]() | |
virtual std::vector< UIHandlePtr > | HitTest (const TrackPanelMouseState &state, const AudacityProject *) override=0 |
unsigned | DoContextMenu (const wxRect &rect, wxWindow *pParent, const wxPoint *pPosition, AudacityProject *pProject) override |
virtual PopupMenuTable * | GetMenuExtension (Track *pTrack)=0 |
void | Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) override |
wxRect | DrawingArea (TrackPanelDrawingContext &, const wxRect &rect, const wxRect &panelRect, unsigned iPass) override |
![]() | |
virtual std::shared_ptr< Track > | DoFindTrack ()=0 |
unsigned | DoContextMenu (const wxRect &rect, wxWindow *pParent, const wxPoint *pPosition, AudacityProject *pProject) override |
unsigned | HandleWheelRotation (const TrackPanelMouseEvent &event, AudacityProject *pProject) override |
![]() | |
std::weak_ptr< CloseButtonHandle > | mCloseHandle |
std::weak_ptr< MenuButtonHandle > | mMenuHandle |
std::weak_ptr< MinimizeButtonHandle > | mMinimizeHandle |
std::weak_ptr< SelectButtonHandle > | mSelectButtonHandle |
std::weak_ptr< TrackSelectHandle > | mSelectHandle |
Definition at line 19 of file PlayableTrackControls.h.
|
static |
Definition at line 239 of file PlayableTrackControls.cpp.
References TrackInfo::CalcItemY(), TrackControls::Get(), and TrackInfo::TCPLine::kItemEffects.
Referenced by EffectsButtonHandle::HitTest().
|
static |
Definition at line 206 of file PlayableTrackControls.cpp.
References TrackInfo::CalcItemY(), TrackControls::Get(), anonymous_namespace{PlayableTrackControls.cpp}::GetNarrowMuteHorizontalBounds(), anonymous_namespace{PlayableTrackControls.cpp}::GetNarrowSoloHorizontalBounds(), anonymous_namespace{PlayableTrackControls.cpp}::GetWideMuteSoloHorizontalBounds(), TrackInfo::TCPLine::kItemMute, and TrackInfo::TCPLine::kItemSolo.
Referenced by MuteButtonHandle::HitTest(), and SoloButtonHandle::HitTest().
|
static |
Definition at line 252 of file PlayableTrackControls.cpp.
References flag, and CommonTrackControls::StaticTCPLines().
|
static |
Definition at line 266 of file PlayableTrackControls.cpp.
References flag, and CommonTrackControls::StaticTCPLines().
Referenced by WaveTrackTCPLines::WaveTrackTCPLines().