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

Go to the source code of this file.

Description

Timeline presentation helper to organise drawing of the overview rulers.

The scrollable body part of the timeline display relies on custom drawing onto a TimelineCanvaswidget canvas"" for the nested track content; above this track content area we build a horizontal ruler to show the timecode or frame count references plus any markers, ranges and locators. In case of group tracks or collapsed tracks, a synopsis of the content may be rendered into this overview bar. However, similar ruler tracks can also be used within the actual fork of tracks, to represent a sub-scope or a similar kind of overview or summarising display. Since any of these display elements need to be aligned precisely with the content, we employ custom drawing for the rulers as well. The RulerTrack – like any parts of the coordinated TimelineLayout, will be referred to from and used by the BodyCanvasWidget for offloading specific parts of the drawing routines.

Todo:
WIP-WIP-WIP as of 6/2019

Definition in file ruler-track.hpp.

#include "stage/gtk-base.hpp"
#include "stage/model/controller.hpp"
#include <vector>

Classes

struct  RulerScale
 
class  RulerTrack
 Helper to organise and draw the time or content overview ruler at the top of the timeline track display. More...
 

Namespaces

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