![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "stage/timeline/track-presenter.hpp"
Special CanvasHook decorator to apply a (dynamic) offset when attaching or moving Widgets on the shared canvas.
Definition at line 138 of file track-presenter.hpp.
Public Member Functions | |
| RelativeCanvasHook (model::CanvasHook< WID > &baseHook) | |
Public Member Functions inherited from CanvasHook< WID > | |
| virtual | ~CanvasHook () |
| this is an interface | |
| Pos | hookedAt (int x, int y) |
| Pos | hookedAt (Time start, int downshift=0) |
| build the "construction hook" for a CanvasHooked element, which is to be attached to some timeline canvas view. | |
Protected Member Functions | |
| virtual int | hookAdjX (int xPos)=0 |
| virtual int | hookAdjY (int yPos)=0 |
| model::DisplayMetric & | getMetric () const override |
| delegating layout metric to the root canvas | |
Private Member Functions | |
| void | hook (WID &widget, int xPos=0, int yPos=0) override |
| void | move (WID &widget, int xPos, int yPos) override |
| void | remove (WID &widget) override |
| model::CanvasHook< WID > & | getAnchorHook () noexcept override |
| allow to build a derived relative hook with different offset | |
Private Attributes | |
| model::CanvasHook< WID > & | refHook_ |
|
inline |
Definition at line 183 of file track-presenter.hpp.
|
inlineoverrideprivatevirtual |
Implements CanvasHook< WID >.
Definition at line 147 of file track-presenter.hpp.
References RelativeCanvasHook< WID >::hookAdjX(), RelativeCanvasHook< WID >::hookAdjY(), and RelativeCanvasHook< WID >::refHook_.
Here is the call graph for this function:
|
inlineoverrideprivatevirtual |
Implements CanvasHook< WID >.
Definition at line 153 of file track-presenter.hpp.
References RelativeCanvasHook< WID >::hookAdjX(), RelativeCanvasHook< WID >::hookAdjY(), and RelativeCanvasHook< WID >::refHook_.
Here is the call graph for this function:
|
inlineoverrideprivatevirtual |
Implements CanvasHook< WID >.
Definition at line 159 of file track-presenter.hpp.
References RelativeCanvasHook< WID >::refHook_.
|
inlineoverrideprivatevirtualnoexcept |
allow to build a derived relative hook with different offset
Reimplemented from CanvasHook< WID >.
Definition at line 166 of file track-presenter.hpp.
References RelativeCanvasHook< WID >::refHook_.
|
protectedpure virtual |
Implemented in DisplayFrame.
Referenced by RelativeCanvasHook< WID >::hook(), and RelativeCanvasHook< WID >::move().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in DisplayFrame.
Referenced by RelativeCanvasHook< WID >::hook(), and RelativeCanvasHook< WID >::move().
Here is the caller graph for this function:
|
inlineoverrideprotectedvirtual |
delegating layout metric to the root canvas
Implements CanvasHook< WID >.
Definition at line 177 of file track-presenter.hpp.
References RelativeCanvasHook< WID >::refHook_.
|
private |
Definition at line 141 of file track-presenter.hpp.
Referenced by RelativeCanvasHook< WID >::getAnchorHook(), RelativeCanvasHook< WID >::getMetric(), RelativeCanvasHook< WID >::hook(), RelativeCanvasHook< WID >::move(), and RelativeCanvasHook< WID >::remove().
Inheritance diagram for RelativeCanvasHook< WID >:
Collaboration diagram for RelativeCanvasHook< WID >: