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

Typedefs

using Grounding = TrackGroundingRenderer
 
using Overlay = TrackOverlayRenderer
 

Classes

class  AbstractTrackRenderer
 
class  TrackGroundingRenderer
 
class  TrackOverlayRenderer
 

Functions

template<class PINT , bool isRuler>
auto makeRenderer (DisplayManager &layout, BodyCanvasWidget::ProfileGetter &getProfile)
 
void setupAdditionalTrackPadding_fromCSS ()
 Adjust the vertical space to accommodate for additional decorations as required by the CSS style rules. More...
 
cuString slopeClassName (int depth)
 

Variables

const bool BODY = false
 
const int INITIAL_CONTENT_HEIGHT_px = 100
 
const int INITIAL_TIMERULER_HEIGHT_px = 30
 
const int MINIMAL_CONTENT_WIDTH_px = 100
 
const bool RULER = true
 
const uint SLOPE_CAP_DEPTH = 5
 
lumiera::advice::Request< PStyleContext > trackBodyStyle {"style(trackBody)"}
 request a pre-defined CSS style context for the track body
 
lumiera::advice::Request< PStyleContext > trackRulerStyle {"style(trackRuler)"}
 

Function Documentation

◆ setupAdditionalTrackPadding_fromCSS()

void stage::timeline::anonymous_namespace{body-canvas-widget.cpp}::setupAdditionalTrackPadding_fromCSS ( )

Adjust the vertical space to accommodate for additional decorations as required by the CSS style rules.

Our custom drawing code observes the same adjustments when drawing background and frame borders.

Definition at line 107 of file body-canvas-widget.cpp.