Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/timeline/track-head-widget.hpp"
Header pane control area corresponding to a Track with nested child Tracks.
This structure is used recursively to build up the Fork of nested Tracks.
Definition at line 71 of file track-head-widget.hpp.
Public Member Functions | |
void | accommodateContentHeight (uint) |
void | accommodateOverallHeight (uint) |
uint | getContentHeight () const |
uint | getOverallHeight () const |
void | setTrackName (cuString &) |
void | syncSubtrackStartHeight (uint) |
The first part of each track's display relates to the direct content; below that area, the content of sub-tracks may be added. More... | |
Public Member Functions inherited from ViewHook< TrackHeadWidget > | |
virtual | ~ViewHook () |
this is an interface | |
virtual void | hook (TrackHeadWidget &widget)=0 |
virtual void | rehook (TrackHeadWidget &widget) noexcept=0 |
virtual void | remove (TrackHeadWidget &widget)=0 |
void | reOrder (IT newOrder) |
re-attach elements in a given, new order. More... | |
Private Member Functions | |
void | attachSubFork (TrackHeadWidget &subForkHead) |
Integrate the control area for a nested sub track fork. More... | |
void | clearFork () |
Discard all nested sub track display widgets. More... | |
void | detachSubFork (TrackHeadWidget &subForkHead) |
void | enforceContentHeight (uint h) |
void | enforceExpansionHeight (uint h) |
void | enforceHeightAt (int left, int top, uint height) |
void | enforceSyncPadHeight (uint h) |
uint | getExpansionHeight () const |
uint | getHeightAt (int left, int top) const |
get the height allocated at cell(x,y) | |
uint | getLabelHeight () const |
uint | getSyncPadHeight () const |
void | hook (TrackHeadWidget &) override |
void | linkSubTrackPositions (uint) |
Coordinate the exact positions of sub-Track start during DisplayEvaluaton. More... | |
void | rehook (TrackHeadWidget &) noexcept override |
void | remove (TrackHeadWidget &) override |
Private Attributes | |
uint | childCnt_ |
HeadControlArea | headCtrl_ |
Gtk::Box | padding_ |
StaveBracketWidget | structure_ |
widget::ElementBoxWidget | trackName_ |
|
overrideprivatenoexcept |
Definition at line 274 of file track-head-widget.cpp.
|
inline |
Definition at line 129 of file track-head-widget.hpp.
void syncSubtrackStartHeight | ( | uint | directHeight | ) |
The first part of each track's display relates to the direct content; below that area, the content of sub-tracks may be added.
This function possibly adds further padding to shift the sub-track headers down to correspond to the display of the sub track body content.
directHeight | the vertical space to use for direct content |
Definition at line 158 of file track-head-widget.cpp.
|
private |
Integrate the control area for a nested sub track fork.
Definition at line 204 of file track-head-widget.cpp.
|
private |
remove a complete sub-fork from display.
Gtk::Container
baseclass, which automatically decrements the refcount; alternatively we could as well destroy the Gtkmm wrapper-Object (i.e. the Gtk::Widget
subclass), since this also destroys the underlying gobj
and automatically detaches it from any container. (however, here this isn't necessary, since the TrackHeadWidget is managed by the DisplayFrame) Definition at line 225 of file track-head-widget.cpp.
|
private |
Discard all nested sub track display widgets.
Definition at line 237 of file track-head-widget.cpp.
|
private |
Coordinate the exact positions of sub-Track start during DisplayEvaluaton.
discrepancy | additional vertical offset incurred to reach a nominal height; this value is interspersed between the content cells and above the Children |
Definition at line 172 of file track-head-widget.cpp.