Definition at line 1440 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 1442 of file TrackPanel.cpp.
1443 {
1445 wxCoord yy = -viewInfo.
vpos;
1447
1452
1453 for (
const auto pTrack :
tracks) {
1454 wxCoord height = 0;
1455 for (auto pChannel : pTrack->Channels()) {
1457 height += view.GetHeight();
1458 }
1459 refinement.emplace_back( yy,
1460 std::make_shared<ResizingChannelGroup>(
1461 pTrack->SharedPointer(), viewInfo.GetLeftOffset())
1462 );
1463 yy += height;
1464 }
1465
1467
1468 return {
Axis::Y, std::move(refinement) };
1469 }
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: