Audacity 3.2.0
|
Public Types | |
enum | { HotZoneSize = 5 } |
Public Member Functions | |
SubViewAdjuster (WaveChannelView &view) | |
void | FindPermutation () |
size_t | NVisible () const |
bool | ModifyPermutation (bool top) |
size_t | FindIndex (WaveChannelSubView &subView) const |
std::pair< size_t, bool > | HitTest (WaveChannelSubView &subView, wxCoord yy, wxCoord top, wxCoord height) |
std::vector< wxCoord > | ComputeHeights (wxCoord totalHeight) |
void | UpdateViews (bool rollback) |
Public Attributes | |
std::weak_ptr< WaveChannelView > | mwView |
WaveChannelSubViewPtrs | mSubViews |
WaveChannelSubViewPlacements | mOrigPlacements |
WaveChannelSubViewPlacements | mNewPlacements |
std::vector< size_t > | mPermutation |
size_t | mFirstSubView {} |
Definition at line 108 of file WaveChannelView.cpp.
anonymous enum |
|
inline |
Definition at line 112 of file WaveChannelView.cpp.
References FindPermutation(), WaveChannelView::GetAllSubViews(), mNewPlacements, mOrigPlacements, mSubViews, and WaveChannelView::SavePlacements().
|
inline |
Definition at line 225 of file WaveChannelView.cpp.
References mNewPlacements, mOrigPlacements, and mPermutation.
Referenced by SubViewAdjustHandle::Click(), and SubViewRearrangeHandle::Click().
|
inline |
Definition at line 197 of file WaveChannelView.cpp.
References details::begin(), details::end(), mPermutation, and mSubViews.
Referenced by HitTest().
|
inline |
Definition at line 121 of file WaveChannelView.cpp.
References details::begin(), details::end(), mFirstSubView, mOrigPlacements, mPermutation, mSubViews, MIR::anonymous_namespace{MirUtils.cpp}::pi, and size.
Referenced by SubViewAdjuster().
|
inline |
Definition at line 207 of file WaveChannelView.cpp.
References FindIndex(), HotZoneSize, mFirstSubView, mPermutation, and size.
|
inline |
Definition at line 159 of file WaveChannelView.cpp.
References mFirstSubView, mNewPlacements, mPermutation, and staffpad::vo::rotate().
Referenced by SubViewAdjustHandle::SubViewAdjustHandle().
|
inline |
|
inline |
Definition at line 249 of file WaveChannelView.cpp.
References WaveChannelView::Get(), mNewPlacements, mOrigPlacements, mwView, and WaveChannelView::RestorePlacements().
Referenced by SubViewAdjustHandle::Cancel(), SubViewRearrangeHandle::Cancel(), SubViewAdjustHandle::Click(), SubViewCloseHandle::CommitChanges(), SubViewAdjustHandle::Drag(), and SubViewRearrangeHandle::Drag().
size_t SubViewAdjuster::mFirstSubView {} |
Definition at line 264 of file WaveChannelView.cpp.
Referenced by SubViewAdjustHandle::Click(), SubViewRearrangeHandle::Click(), SubViewRearrangeHandle::DragChoice(), FindPermutation(), HitTest(), ModifyPermutation(), and NVisible().
WaveChannelSubViewPlacements SubViewAdjuster::mNewPlacements |
Definition at line 260 of file WaveChannelView.cpp.
Referenced by SubViewAdjustHandle::Click(), SubViewCloseHandle::CommitChanges(), ComputeHeights(), SubViewAdjustHandle::Drag(), SubViewRearrangeHandle::Drag(), ModifyPermutation(), SubViewAdjuster(), and UpdateViews().
WaveChannelSubViewPlacements SubViewAdjuster::mOrigPlacements |
Definition at line 260 of file WaveChannelView.cpp.
Referenced by ComputeHeights(), FindPermutation(), SubViewAdjuster(), and UpdateViews().
std::vector< size_t > SubViewAdjuster::mPermutation |
Definition at line 262 of file WaveChannelView.cpp.
Referenced by SubViewAdjustHandle::Click(), SubViewRearrangeHandle::Click(), SubViewCloseHandle::CommitChanges(), ComputeHeights(), SubViewAdjustHandle::Drag(), FindIndex(), FindPermutation(), HitTest(), ModifyPermutation(), and NVisible().
WaveChannelSubViewPtrs SubViewAdjuster::mSubViews |
Definition at line 259 of file WaveChannelView.cpp.
Referenced by FindIndex(), FindPermutation(), and SubViewAdjuster().
std::weak_ptr<WaveChannelView> SubViewAdjuster::mwView |
Definition at line 258 of file WaveChannelView.cpp.
Referenced by SubViewAdjustHandle::Drag(), SubViewRearrangeHandle::Drag(), SubViewAdjustHandle::FindTrack(), SubViewRearrangeHandle::FindTrack(), and UpdateViews().