![]() |
Audacity 3.2.0
|
#include <WaveTrackView.h>
Public Types | |
| using | Display = WaveTrackViewConstants::Display |
Public Types inherited from TrackView | |
| enum | : unsigned { DefaultHeight = 150 } |
| using | Refinement = std::vector< std::pair< wxCoord, std::shared_ptr< TrackView > > > |
Public Types inherited from ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy > | |
| using | DataType = ClientData |
| using | DataPointer = Pointer< ClientData > |
| using | DataFactory = std::function< DataPointer(Host &) > |
| Type of function from which RegisteredFactory is constructed; it builds attachments. More... | |
Public Member Functions | |
| WaveTrackView (const std::shared_ptr< Track > &pTrack, size_t channel) | |
| Construct a view of one channel. More... | |
| ~WaveTrackView () override | |
| size_t | GetChannel () const |
| void | CopyTo (Track &track) const override |
| Copy state, for undo/redo purposes. More... | |
| std::shared_ptr< TrackVRulerControls > | DoGetVRulerControls () 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... | |
| std::vector< WaveTrackSubView::Type > | GetDisplays () const |
| void | SetDisplay (Display display, bool exclusive=true) |
| const WaveTrackSubViewPlacements & | SavePlacements () const |
| void | RestorePlacements (const WaveTrackSubViewPlacements &placements) |
| bool | ToggleSubView (Display id) |
| std::vector< std::shared_ptr< WaveTrackSubView > > | GetAllSubViews () |
| wxCoord | GetLastHeight () const |
| bool | GetMultiView () const |
| void | SetMultiView (bool value) |
| std::weak_ptr< WaveClip > | GetSelectedClip () |
| Refinement | GetSubViews (const wxRect *rect=nullptr) |
| unsigned | CaptureKey (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) override |
| unsigned | KeyDown (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) override |
| unsigned | Char (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent, AudacityProject *project) override |
| unsigned | LoseFocus (AudacityProject *project) override |
| bool | CutSelectedText (AudacityProject &project) |
| bool | CopySelectedText (AudacityProject &project) |
| bool | PasteText (AudacityProject &project) |
| bool | SelectAllText (AudacityProject &project) |
Public Member Functions inherited from CommonTrackView | |
| std::shared_ptr< TrackPanelCell > | ContextMenuDelegate () override |
| std::vector< UIHandlePtr > | HitTest (const TrackPanelMouseState &, const AudacityProject *pProject) final override |
| void | TimeShiftHitTest () |
| virtual int | GetMinimizedHeight () const override |
| TrackView (const std::shared_ptr< Track > &pTrack) | |
Public Member Functions inherited from TrackView | |
| TrackView (const std::shared_ptr< Track > &pTrack) | |
| virtual | ~TrackView ()=0 |
| void | CopyTo (Track &track) const override |
| Copy state, for undo/redo purposes. More... | |
| bool | GetMinimized () const |
| void | SetMinimized (bool minimized) |
| int | GetCumulativeHeightBefore () const |
| int | GetExpandedHeight () const |
| virtual int | GetMinimizedHeight () const =0 |
| int | GetHeight () const |
| void | SetCumulativeHeightBefore (int y) |
| Set cached value dependent on position within the track list. More... | |
| void | SetExpandedHeight (int height) |
| std::shared_ptr< TrackVRulerControls > | GetVRulerControls () |
| std::shared_ptr< const TrackVRulerControls > | GetVRulerControls () const |
| virtual std::shared_ptr< CommonTrackCell > | GetAffordanceControls () |
| void | WriteXMLAttributes (XMLWriter &) const override |
| Serialize persistent attributes. More... | |
| bool | HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView) override |
| Deserialize an attribute, returning true if recognized. More... | |
| virtual Refinement | GetSubViews (const wxRect &rect) |
| virtual bool | IsSpectral () const |
| virtual void | DoSetMinimized (bool isMinimized) |
Public Member Functions inherited from CommonTrackCell | |
| 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... | |
Public Member Functions inherited from CommonTrackPanelCell | |
| 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... | |
Public Member Functions inherited from TrackPanelCell | |
| 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) |
Public Member Functions inherited from TrackPanelNode | |
| TrackPanelNode () | |
| virtual | ~TrackPanelNode ()=0 |
Public Member Functions inherited from TrackPanelDrawable | |
| 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) |
Public Member Functions inherited from TrackAttachment | |
| 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... | |
Public Member Functions inherited from ClientData::Base | |
| virtual | ~Base () |
Public Member Functions inherited from ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy > | |
| ~Site () | |
| Site () | |
| Site (const Site &other) | |
| Site & | operator= (const Site &other) |
| Site (Site &&other) | |
| Site & | operator= (Site &&other) |
| size_t | size () const |
| How many attachment pointers are in the Site. More... | |
| template<typename Subclass = ClientData> | |
| Subclass & | Get (const RegisteredFactory &key) |
| Get reference to an attachment, creating on demand if not present, down-cast it to Subclass. More... | |
| template<typename Subclass = const ClientData> | |
| auto | Get (const RegisteredFactory &key) const -> std::enable_if_t< std::is_const< Subclass >::value, Subclass & > |
| Get reference to an attachment, creating on demand if not present, down-cast it to Subclass. More... | |
| template<typename Subclass = ClientData> | |
| Subclass * | Find (const RegisteredFactory &key) |
| Get a (bare) pointer to an attachment, or null, down-cast it to Subclass *; will not create on demand. More... | |
| template<typename Subclass = const ClientData> | |
| auto | Find (const RegisteredFactory &key) const -> std::enable_if_t< std::is_const< Subclass >::value, Subclass * > |
| Get a (bare) pointer to an attachment, or null, down-cast it to Subclass *; will not create on demand. More... | |
| template<typename ReplacementPointer > | |
| void | Assign (const RegisteredFactory &key, ReplacementPointer &&replacement) |
| Reassign Site's pointer to ClientData. More... | |
Static Public Member Functions | |
| static WaveTrackView & | Get (WaveTrack &track) |
| static const WaveTrackView & | Get (const WaveTrack &track) |
| static WaveTrackView * | Find (WaveTrack *pTrack) |
| static const WaveTrackView * | Find (const WaveTrack *pTrack) |
| static std::pair< bool, std::vector< UIHandlePtr > > | DoDetailedHitTest (const TrackPanelMouseState &state, const AudacityProject *pProject, int currentTool, bool bMultiTool, const std::shared_ptr< WaveTrack > &wt, CommonTrackView &view) |
| static bool | ClipDetailsVisible (const WaveClip &clip, const ZoomInfo &zoomInfo, const wxRect &viewRect) |
| static wxRect | ClipHitTestArea (const WaveClip &clip, const ZoomInfo &zoomInfo, const wxRect &viewRect) |
| static bool | HitTest (const WaveClip &clip, const ZoomInfo &zoomInfo, const wxRect &rect, const wxPoint &pos) |
Static Public Member Functions inherited from CommonTrackView | |
| static void | GetEnvelopeValues (const Envelope &env, double aligned_time, double sampleDur, double *buffer, int bufferLen, int leftOffset, const ZoomInfo &zoomInfo) |
| Get many envelope points for pixel columns at once, but don't assume uniform time per pixel. More... | |
Static Public Member Functions inherited from TrackView | |
| static int | GetTrackHeight (const Track *pTrack) |
| static int | GetChannelGroupHeight (const Track *pTrack) |
| static int | GetCumulativeHeight (const Track *pTrack) |
| static int | GetTotalHeight (const TrackList &list) |
| static TrackView & | Get (Track &) |
| static const TrackView & | Get (const Track &) |
| static TrackView * | Find (Track *) |
| static const TrackView * | Find (const Track *) |
Static Public Member Functions inherited from TrackPanelDrawable | |
| static wxRect | MaximizeWidth (const wxRect &rect, const wxRect &panelRect) |
| static wxRect | MaximizeHeight (const wxRect &rect, const wxRect &panelRect) |
Static Public Member Functions inherited from ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy > | |
| static size_t | slots () |
| How many static factories have been registered with this specialization of Site. More... | |
Static Public Attributes | |
| static constexpr int | kChannelSeparatorThickness { 8 } |
Private Member Functions | |
| WaveTrackView (const WaveTrackView &)=delete | |
| WaveTrackView & | operator= (const WaveTrackView &)=delete |
| void | BuildSubViews () const |
| void | DoSetDisplay (Display display, bool exclusive=true) |
| bool | SelectNextClip (ViewInfo &viewInfo, AudacityProject *project, bool forward) |
| void | Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) override |
| std::vector< UIHandlePtr > | DetailedHitTest (const TrackPanelMouseState &state, const AudacityProject *pProject, int currentTool, bool bMultiTool) override |
| Refinement | GetSubViews (const wxRect &rect) override |
| std::shared_ptr< CommonTrackCell > | GetAffordanceControls () override |
| void | DoSetMinimized (bool minimized) override |
| WaveTrackSubViewPlacements & | DoGetPlacements () |
| const WaveTrackSubViewPlacements & | DoGetPlacements () const |
| bool & | DoGetMultiView () |
| bool | DoGetMultiView () const |
| std::shared_ptr< CommonTrackCell > | DoGetAffordance (const std::shared_ptr< Track > &track) |
Private Attributes | |
| wxCoord | mLastHeight {} |
| std::shared_ptr< CommonTrackCell > | mpAffordanceCellControl |
| std::weak_ptr< TrackPanelCell > | mKeyEventDelegate |
| std::weak_ptr< WaveTrackAffordanceHandle > | mAffordanceHandle |
| const size_t | mChannel |
Additional Inherited Members | |
Public Attributes inherited from CommonTrackView | |
| std::weak_ptr< TimeShiftHandle > | mTimeShiftHandle |
| virtual std::vector< UIHandlePtr > | DetailedHitTest (const TrackPanelMouseState &, const AudacityProject *pProject, int currentTool, bool bMultiTool)=0 |
| virtual std::shared_ptr< TrackVRulerControls > | DoGetVRulerControls ()=0 |
Protected Member Functions inherited from CommonTrackPanelCell | |
| 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 |
Protected Member Functions inherited from ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy > | |
| template<typename Function > | |
| void | ForEach (const Function &function) |
Invoke function on each ClientData object that has been created in this. More... | |
| template<typename Function > | |
| void | ForEach (const Function &function) const |
Invoke function on each ClientData object that has been created in this. More... | |
| template<typename Function > | |
| ClientData * | FindIf (const Function &function) |
Return pointer to first attachment in this that is not null and satisfies a predicate, or nullptr. More... | |
| template<typename Function > | |
| const ClientData * | FindIf (const Function &function) const |
Return pointer to first attachment in this that is not null and satisfies a predicate, or nullptr. More... | |
| void | BuildAll () |
For each RegisteredFactory, if the corresponding attachment is absent in this, build and store it. More... | |
Protected Attributes inherited from CommonTrackView | |
| std::weak_ptr< SelectHandle > | mSelectHandle |
Protected Attributes inherited from TrackView | |
| std::shared_ptr< TrackVRulerControls > | mpVRulerControls |
Definition at line 98 of file WaveTrackView.h.
Definition at line 108 of file WaveTrackView.h.
|
privatedelete |
| WaveTrackView::WaveTrackView | ( | const std::shared_ptr< Track > & | pTrack, |
| size_t | channel | ||
| ) |
Construct a view of one channel.
| channel | which channel of a possibly wide wave track |
Definition at line 922 of file WaveTrackView.cpp.
|
override |
Definition at line 941 of file WaveTrackView.cpp.
|
private |
Definition at line 1737 of file WaveTrackView.cpp.
References ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::BuildAll(), WaveTrackSubViewType::Default(), TrackView::DoSetMinimized(), TrackView::GetMinimized(), WaveTrackViewConstants::MultiView, ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::size(), and TracksPrefs::ViewModeChoice().
Referenced by DoSetMinimized(), GetAllSubViews(), GetDisplays(), and SetDisplay().
|
overridevirtual |
Reimplemented from TrackPanelCell.
Definition at line 1281 of file WaveTrackView.cpp.
References TrackPanelCell::CaptureKey(), TrackList::Channels(), CommonTrackPanelCell::FindTrack(), Get(), mKeyEventDelegate, and RefreshCode::RefreshNone.
|
overridevirtual |
Reimplemented from TrackPanelCell.
Definition at line 1352 of file WaveTrackView.cpp.
References mKeyEventDelegate, and RefreshCode::RefreshNone.
|
static |
Definition at line 1411 of file WaveTrackView.cpp.
References ClipParameters::GetClipRect(), and kClipDetailedViewMinimumWidth.
Referenced by WaveTrackAffordanceHandle::Click(), DoDetailedHitTest(), WaveTrackAffordanceControls::Draw(), anonymous_namespace{SpectrumView.cpp}::DrawClipSpectrum(), anonymous_namespace{WaveformView.cpp}::DrawClipWaveform(), and WaveClipTrimHandle::HitAnywhere().
|
static |
Definition at line 1421 of file WaveTrackView.cpp.
References ClipParameters::GetClipRect(), and kClipDetailedViewMinimumWidth.
Referenced by HitTest().
| bool WaveTrackView::CopySelectedText | ( | AudacityProject & | project | ) |
Definition at line 1396 of file WaveTrackView.cpp.
References TrackList::Channels(), CommonTrackPanelCell::FindTrack(), and TrackView::Get().
|
overridevirtual |
Copy state, for undo/redo purposes.
Reimplemented from TrackAttachment.
Definition at line 945 of file WaveTrackView.cpp.
References TrackView::CopyTo(), DoGetMultiView(), TrackView::Get(), GetAllSubViews(), and SavePlacements().
| bool WaveTrackView::CutSelectedText | ( | AudacityProject & | project | ) |
Definition at line 1381 of file WaveTrackView.cpp.
References TrackList::Channels(), CommonTrackPanelCell::FindTrack(), and TrackView::Get().
|
overrideprivatevirtual |
Implements CommonTrackView.
Definition at line 965 of file WaveTrackView.cpp.
|
static |
Definition at line 975 of file WaveTrackView.cpp.
References AssignUIHandlePtr(), ClipDetailsVisible(), ViewInfo::Get(), Get(), TimeShiftHandle::HitAnywhere(), HitTest(), CommonTrackView::mTimeShiftHandle, TrackPanelMouseState::rect, and TrackPanelMouseState::state.
Referenced by WaveTrackSubView::DoDetailedHitTest().
|
private |
Definition at line 1500 of file WaveTrackView.cpp.
References mpAffordanceCellControl.
Referenced by GetAffordanceControls().
|
private |
Definition at line 94 of file WaveTrackView.cpp.
References CommonTrackPanelCell::FindTrack(), and BasicUI::Get().
Referenced by CopyTo(), and DoGetMultiView().
|
private |
Definition at line 100 of file WaveTrackView.cpp.
References DoGetMultiView().
|
private |
Definition at line 83 of file WaveTrackView.cpp.
References CommonTrackPanelCell::FindTrack(), and BasicUI::Get().
Referenced by DoGetPlacements(), DoSetDisplay(), GetDisplays(), and ToggleSubView().
|
private |
Definition at line 89 of file WaveTrackView.cpp.
References DoGetPlacements().
|
overridevirtual |
Implements TrackView.
Definition at line 1515 of file WaveTrackView.cpp.
|
private |
Definition at line 1110 of file WaveTrackView.cpp.
References DoGetPlacements(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach(), and WaveTrackSubView::SubViewType().
Referenced by SetDisplay().
|
overrideprivatevirtual |
Reimplemented from TrackView.
Definition at line 1489 of file WaveTrackView.cpp.
References BuildSubViews(), TrackView::DoSetMinimized(), and ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach().
|
overrideprivatevirtual |
Reimplemented from TrackPanelDrawable.
Definition at line 1765 of file WaveTrackView.cpp.
References TrackPanelDrawable::Draw().
|
static |
Definition at line 917 of file WaveTrackView.cpp.
References Find().
|
static |
Definition at line 912 of file WaveTrackView.cpp.
References TrackView::Find().
Referenced by Find(), NyquistEffect::Init(), and NyquistEffect::ProcessOne().
|
static |
Definition at line 907 of file WaveTrackView.cpp.
References Get().
|
static |
Definition at line 902 of file WaveTrackView.cpp.
References TrackView::Get().
Referenced by Append(), SetTrackVisualsCommand::ApplyInner(), CaptureKey(), WaveformPrefs::Commit(), DoDetailedHitTest(), anonymous_namespace{EditMenus.cpp}::DoPasteText(), for(), Get(), anonymous_namespace{EditMenus.cpp}::OnCopy(), anonymous_namespace{EditMenus.cpp}::OnCut(), WaveTrackMenuTable::OnMergeStereo(), WaveTrackMenuTable::OnMultiView(), SelectActions::Handler::OnSelectAll(), WaveTrackMenuTable::OnSetDisplay(), SpectrumPrefs::Rollback(), SpectrumPrefs::SpectrumPrefs(), and SubViewAdjuster::UpdateViews().
|
overrideprivatevirtual |
Reimplemented from TrackView.
Definition at line 1479 of file WaveTrackView.cpp.
References DoGetAffordance(), and CommonTrackPanelCell::FindTrack().
Referenced by GetSelectedClip().
| std::vector< std::shared_ptr< WaveTrackSubView > > WaveTrackView::GetAllSubViews | ( | ) |
Definition at line 1467 of file WaveTrackView.cpp.
References BuildSubViews(), and ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach().
Referenced by CopyTo(), and SubViewAdjuster::SubViewAdjuster().
|
inline |
Definition at line 122 of file WaveTrackView.h.
| auto WaveTrackView::GetDisplays | ( | ) | const |
Definition at line 1022 of file WaveTrackView.cpp.
References BuildSubViews(), DoGetPlacements(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach(), and WaveTrackSubView::SubViewType().
Referenced by ToggleSubView().
|
inline |
Definition at line 158 of file WaveTrackView.h.
Referenced by SubViewAdjustHandle::HitTest(), and SubViewRearrangeHandle::HitTest().
|
inline |
Definition at line 160 of file WaveTrackView.h.
Referenced by SubViewAdjustHandle::HitTest(), and SubViewRearrangeHandle::HitTest().
| std::weak_ptr< WaveClip > WaveTrackView::GetSelectedClip | ( | ) |
Definition at line 1728 of file WaveTrackView.cpp.
References GetAffordanceControls().
|
overrideprivatevirtual |
Reimplemented from TrackView.
Definition at line 1207 of file WaveTrackView.cpp.
| auto WaveTrackView::GetSubViews | ( | const wxRect * | rect = nullptr | ) |
Definition at line 1212 of file WaveTrackView.cpp.
References PackedArray::begin(), PackedArray::end(), and ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach().
|
static |
Definition at line 1431 of file WaveTrackView.cpp.
References ClipHitTestArea().
Referenced by DoDetailedHitTest(), WaveTrackAffordanceControls::HitTest(), WaveTrackShifter::HitTest(), and SubViewAdjustHandle::HitTest().
|
overridevirtual |
Reimplemented from TrackPanelCell.
Definition at line 1328 of file WaveTrackView.cpp.
References mKeyEventDelegate, RefreshCode::RefreshCell, RefreshCode::RefreshNone, and SelectNextClip().
|
overridevirtual |
Reimplemented from TrackPanelCell.
Definition at line 1368 of file WaveTrackView.cpp.
References mKeyEventDelegate, and RefreshCode::RefreshNone.
|
privatedelete |
| bool WaveTrackView::PasteText | ( | AudacityProject & | project | ) |
Definition at line 1436 of file WaveTrackView.cpp.
References TrackList::Channels(), CommonTrackPanelCell::FindTrack(), and TrackView::Get().
|
overridevirtual |
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it.
default does nothing
Reimplemented from TrackAttachment.
Definition at line 1717 of file WaveTrackView.cpp.
References ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::ForEach(), mpAffordanceCellControl, and CommonTrackCell::Reparent().
|
inline |
Definition at line 146 of file WaveTrackView.h.
Referenced by SpectrumPrefs::Rollback(), and SubViewAdjuster::UpdateViews().
|
inline |
Definition at line 144 of file WaveTrackView.h.
Referenced by CopyTo(), SpectrumPrefs::SpectrumPrefs(), and SubViewAdjuster::SubViewAdjuster().
| bool WaveTrackView::SelectAllText | ( | AudacityProject & | project | ) |
Definition at line 1451 of file WaveTrackView.cpp.
References TrackList::Channels(), CommonTrackPanelCell::FindTrack(), and TrackView::Get().
|
private |
Definition at line 1158 of file WaveTrackView.cpp.
References CommonTrackPanelCell::FindTrack(), TrackFocus::Get(), ProjectHistory::Get(), ProjectHistory::ModifyState(), anonymous_namespace{WaveTrackView.cpp}::NextClipLooped(), ViewInfo::selectedRegion, NotifyingSelectedRegion::setTimes(), and XP.
Referenced by KeyDown().
| void WaveTrackView::SetDisplay | ( | Display | display, |
| bool | exclusive = true |
||
| ) |
Definition at line 1045 of file WaveTrackView.cpp.
References BuildSubViews(), and DoSetDisplay().
Referenced by WaveformPrefs::Commit(), and WaveTrackMenuTable::OnSetDisplay().
|
inline |
Definition at line 161 of file WaveTrackView.h.
| bool WaveTrackView::ToggleSubView | ( | Display | id | ) |
Definition at line 1051 of file WaveTrackView.cpp.
References DoGetPlacements(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::FindIf(), GetDisplays(), WaveTrackSubViewType::id, ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::size(), and WaveTrackSubView::SubViewType().
|
staticconstexpr |
Definition at line 106 of file WaveTrackView.h.
Referenced by WaveTrackSubView::DoDetailedHitTest(), and WaveTrackAffordanceControls::HitTest().
|
private |
Definition at line 241 of file WaveTrackView.h.
|
private |
Definition at line 243 of file WaveTrackView.h.
|
private |
Definition at line 239 of file WaveTrackView.h.
Referenced by CaptureKey(), Char(), KeyDown(), and LoseFocus().
|
mutableprivate |
Definition at line 230 of file WaveTrackView.h.
|
private |
Definition at line 237 of file WaveTrackView.h.
Referenced by DoGetAffordance(), and Reparent().