![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "stage/timeline/display-evaluation.hpp"
Visitor and state holder for a collaborative layout adjustment pass.
Definition at line 100 of file display-evaluation.hpp.
Public Member Functions | |
| void | attach (LayoutElement &e) |
| void | perform () |
| Conduct global passes over the wired layout elements, in order to adjust and coordinate the overall timeline layout. | |
| bool | isCollectPhase () const |
Private Member Functions | |
| void | reset () |
| pristine state for the next DisplayEvaluation pass | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
Private Attributes | |
| std::vector< LayoutElement * > | elms_ |
| bool | collectLayout_ {true} |
|
inline |
Definition at line 108 of file display-evaluation.hpp.
References DisplayEvaluation::elms_.
Referenced by TimelineLayout::setupStructure().
Here is the caller graph for this function:| void perform | ( | ) |
Conduct global passes over the wired layout elements, in order to adjust and coordinate the overall timeline layout.
Within these passes, each element starts with the (vertical) extension as allocated by GTK; typically these values need to be increased slightly, in order to align the track headers and the track body display, and to accommodate the clips and effects placed into each track. Such local adjustments will typically re-trigger the custom drawing code, and thus re-invoke this function, until the overall layout is stable. In a similar vein, the expanding or collapsing of clips and even whole sub-track scopes will cause adjustments and a re-evaluation.
Definition at line 61 of file display-evaluation.cpp.
References DisplayEvaluation::collectLayout_, DisplayEvaluation::elms_, and DisplayEvaluation::reset().
Referenced by TimelineLayout::triggerDisplayEvaluation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 111 of file display-evaluation.hpp.
References DisplayEvaluation::collectLayout_.
Referenced by TrackPresenter::completeLayout(), and TrackPresenter::establishLayout().
Here is the caller graph for this function:
|
private |
pristine state for the next DisplayEvaluation pass
Definition at line 75 of file display-evaluation.cpp.
References DisplayEvaluation::collectLayout_, and DisplayEvaluation::elms_.
Referenced by DisplayEvaluation::perform().
Here is the caller graph for this function:
|
private |
Definition at line 103 of file display-evaluation.hpp.
Referenced by DisplayEvaluation::attach(), DisplayEvaluation::perform(), and DisplayEvaluation::reset().
|
private |
Definition at line 105 of file display-evaluation.hpp.
Referenced by DisplayEvaluation::isCollectPhase(), DisplayEvaluation::perform(), and DisplayEvaluation::reset().
Inheritance diagram for DisplayEvaluation:
Collaboration diagram for DisplayEvaluation: