Lumiera  0.pre.03
»edit your freedom«
zoom-metric.hpp File Reference

Go to the source code of this file.

Description

Implementation building block to get the DisplayMetric as defined through a ZoomWindow.

The latter is used as mediator to receive the various view manipulation signals from widgets, window decoration, zoom slider, navigator and zoom gestures, thereby ensuring consistent behaviour and capturing a history of zoom states. A current display metric can be derived directly from ZoomWindow settings, and is used by Clip Widgets and similar ElementBox entities attached to the canvas, to provide a time calibrated display and to control the visible extension of elements with distinct duration.

usage
ZoomMetric should be mixed-into an implementation class and on top of some interface which derives from stage::model::DisplayMetric; a ZoomWindow instance is directly embedded and should be wired and controlled by the implementation class accordingly.
See also
ZoomWindow
DisplayMetric
stage::timeline::TimelineLayout usage example
ClipWidget::establishHorizontalExtension()

Definition in file zoom-metric.hpp.

Classes

class  ZoomMetric< I >
 Mix-In to implement the DisplayMetric interface on top of a ZoomWindow component, directly embedded here and thus also accessible downstream. More...
 

Namespaces

 stage
 Lumiera GTK UI implementation root.
 
 stage::model
 The Lumiera GTK-GUI uses a thin proxy layer data model on top of the actual "high-level-model", which lives in the Steam-Layer below.