Lumiera  0.pre.03
»edit your freedom«
track-body.hpp File Reference

Go to the source code of this file.

Description

This helper class serves to manage the layout and display of the horizontally extended space of a "track" within the timeline.

Actually, this space is just a working area and created by custom drawing on the timeline canvas; yet for coordination of a globally consistent timeline layout, each track display is coordinated by a TrackPresenter, which corresponds to a session::Fork and directly controls the respective display elements in the header pane and the display of the timeline body; the latter is actually a canvas for custom drawing.

Todo:
as of 3/2023 the reworked Timeline-UI is basically complete

Definition in file track-body.hpp.

#include "stage/gtk-base.hpp"
#include "stage/model/view-hook.hpp"
#include "stage/timeline/ruler-track.hpp"
#include "stage/timeline/display-manager.hpp"
#include <memory>
#include <vector>
#include <array>

Classes

struct  Decoration
 Configure additional vertical padding for the decorations added through CSS. More...
 
class  TrackBody
 Helper to organise and draw the space allocated for a fork of sub-tracks. More...
 

Namespaces

 stage
 Lumiera GTK UI implementation root.
 
 stage::timeline
 The timeline display and editing operations.
 

Class Documentation

◆ stage::timeline::Decoration

struct stage::timeline::Decoration
Class Members
typedef array< uint, 6 > Borders
Class Members
uint content
uint ruler
uint topMar
uint botMar
uint trackPad
Borders borders width of up to 6 levels of combined upward slope borders (defined in CSS)
+ Collaboration diagram for Decoration: