Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DisplayManager Class Referenceabstract

#include "stage/timeline/display-manager.hpp"

Description

Interface for coordination of the overall timeline display.

Todo:
WIP-WIP as of 12/2019

Definition at line 146 of file display-manager.hpp.

Public Types

using SignalStructureChange = sigc::signal< void >
 

Public Attributes

SignalStructureChange signalStructureChange_
 signal to be invoked whenever the virtual structure of the corresponding timeline changes, thus necessitating a new arrangement of the timeline layout.
 

Public Member Functions

virtual ~DisplayManager ()
 this is an interface
 
virtual void triggerDisplayEvaluation ()=0
 cause a re-allocation of the complete layout
 
PixSpan getPixSpan ()
 the overall horizontal pixel span to cover by this timeline
 
- Public Member Functions inherited from DisplayViewHooks
virtual ~DisplayViewHooks ()
 this is an interface
 
virtual model::ViewHook< TrackHeadWidget > & getHeadHook ()=0
 
virtual model::ViewHook< TrackBody > & getBodyHook ()=0
 
virtual model::CanvasHook< Gtk::Widget > & getClipHook ()=0
 
- Public Member Functions inherited from DisplayMetric
virtual ~DisplayMetric ()
 this is an interface
 
virtual TimeSpan coveredTime () const =0
 the overall time Duration covered by this timeline canvas
 
virtual int translateTimeToPixels (TimeValue) const =0
 extension point for time axis zoom management.
 
virtual int translateScreenDelta (Offset) const =0
 translate a temporal offset into a pixel Δ
 
virtual TimeValue applyScreenDelta (Time anchor, double deltaPx) const =0
 translate an offset in pixel coordinates into a temporal position
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 ~NonCopyable ()=default
 
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Constructor & Destructor Documentation

◆ ~DisplayManager()

~DisplayManager ( )
virtual

this is an interface

Definition at line 53 of file display-manager.cpp.

Member Typedef Documentation

◆ SignalStructureChange

using SignalStructureChange = sigc::signal<void>

Definition at line 159 of file display-manager.hpp.

Member Function Documentation

◆ triggerDisplayEvaluation()

virtual void triggerDisplayEvaluation ( )
pure virtual

cause a re-allocation of the complete layout

Referenced by BodyCanvasWidget::maybeRebuildLayout().

+ Here is the caller graph for this function:

◆ getPixSpan()

PixSpan getPixSpan ( )
inline

the overall horizontal pixel span to cover by this timeline

Definition at line 173 of file display-manager.hpp.

References DisplayMetric::coveredTime(), and DisplayMetric::translateTimeToPixels().

Referenced by BodyCanvasWidget::establishLayout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ signalStructureChange_

SignalStructureChange signalStructureChange_

signal to be invoked whenever the virtual structure of the corresponding timeline changes, thus necessitating a new arrangement of the timeline layout.

Remarks
connected to BodyCanvasWidget::slotStructureChange, which causes the drawing code to triggerDisplayEvaluation()

Definition at line 168 of file display-manager.hpp.

Referenced by BodyCanvasWidget::BodyCanvasWidget().

+ Inheritance diagram for DisplayManager:
+ Collaboration diagram for DisplayManager:

The documentation for this class was generated from the following files: