207 bool topLevel = isnil (profile);
212 profile.append_prelude();
222 uint rulerHeight = ruler->calcHeight();
223 uint gapHeight = ruler->getGapHeight();
225 profile.append_ruler (rulerHeight);
227 profile.append_gap (gapHeight);
256 subTrack->startLine_ = this->
startLine_ + line;
257 line += subTrack->establishTrackSpace (profile);
269 profile.append_coda (TIMELINE_BOTTOM_PADDING_px);
Helper to organise and draw the space allocated for a fork of sub-tracks.
DisplayManager::SignalStructureChange signalStructureChange_
void rehook(TrackBody &) noexcept override
uint calcContentHeight() const
void accommodateContentHeight(uint contentExtension)
ensure content with the given extension can be accommodated within this track's content area
static Decoration decoration
storage for common style/padding settings
void setTrackName(cuString &)
uint establishTrackSpace(TrackProfile &)
recursively establish the screen space allocation for this structure of nested tracks.
uint calcHeight() const
recursively calculate the height in pixels to display this track, including all nested sub-tracks and...
uint calcRulerHeight() const
sum up the vertical extension required by all overview rulers.
void hook(TrackBody &) override
uint calcSubtrackHeight() const
void remove(TrackBody &) override
const uint DEFAULT_CONTENT_HEIGHT_px
const uint TIMELINE_BOTTOM_PADDING_px
uint combinedSlopeHeight(uint depth)
helper to get the width of combined slope borders.
This helper class serves to manage the layout and display of the horizontally extended space of a "tr...