Lumiera  0.pre.03
»edit your freedom«
stage::timeline::anonymous_namespace{track-body.cpp} Namespace Reference

Functions

uint combinedSlopeHeight (uint depth)
 helper to get the width of combined slope borders. More...
 

Variables

const uint DEFAULT_CONTENT_HEIGHT_px = 40
 
const uint TIMELINE_BOTTOM_PADDING_px = 5
 

Function Documentation

◆ combinedSlopeHeight()

uint stage::timeline::anonymous_namespace{track-body.cpp}::combinedSlopeHeight ( uint  depth)
inline

helper to get the width of combined slope borders.

Upwards slopes are combined up to a certain degree; however, the actual width of such a combined border is defined through a class in the CSS stylesheet. The TrackBody::decoration.borders array holds the actual values read from the CSS.

Definition at line 189 of file track-body.cpp.