Definition at line 1473 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 1475 of file TrackPanel.cpp.
1476 {
1478 wxCoord yy = -viewInfo.
vpos;
1480
1485
1486 for (
const auto pTrack :
tracks) {
1487 wxCoord height = 0;
1488 for (auto pChannel : pTrack->Channels()) {
1490 height += view.GetHeight();
1491 }
1492 refinement.emplace_back( yy,
1493 std::make_shared<ResizingChannelGroup>(
1494 pTrack->SharedPointer(), viewInfo.GetLeftOffset())
1495 );
1496 yy += height;
1497 }
1498
1500
1501 return {
Axis::Y, std::move(refinement) };
1502 }
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: