Definition at line 1554 of file TrackPanel.cpp.
◆ Subgroup()
anonymous_namespace{TrackPanel.cpp}::Subgroup::Subgroup |
( |
TrackPanel & |
panel | ) |
|
|
inlineexplicit |
◆ Children()
Subdivision anonymous_namespace{TrackPanel.cpp}::Subgroup::Children |
( |
const wxRect & |
rect | ) |
|
|
inlineoverridevirtual |
Implements TrackPanelGroup.
Definition at line 1556 of file TrackPanel.cpp.
1557 {
1559 wxCoord yy = -viewInfo.
vpos;
1561
1566
1567 for (
const auto pTrack :
tracks) {
1568 wxCoord height = 0;
1569 for (auto pChannel : pTrack->Channels()) {
1571 height += view.GetHeight();
1572 }
1573 refinement.emplace_back( yy,
1574 std::make_shared<ResizingChannelGroup>(
1575 pTrack->SharedPointer(), viewInfo.GetLeftOffset())
1576 );
1577 yy += height;
1578 }
1579
1581
1582 return {
Axis::Y, std::move(refinement) };
1583 }
static ChannelView & Get(Channel &channel)
std::vector< Child > Refinement
std::shared_ptr< CommonTrackPanelCell > GetBackgroundCell()
const TrackList * GetTracks() const
int vpos
Pixel distance from top of tracks to top of visible scrolled area.
static std::shared_ptr< EmptyCell > Instance()
References ChannelView::Get(), kTopMargin, and tracks.
◆ mPanel
TrackPanel& anonymous_namespace{TrackPanel.cpp}::Subgroup::mPanel |
The documentation for this struct was generated from the following file: