Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
track-body.hpp File Reference

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

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>

Namespaces

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

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...
 

Class Documentation

◆ stage::timeline::Decoration

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