![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "stage/model/canvas-hook.hpp"
Interface to represent _"some presentation layout entity",_ with the ability to place widgets (managed elsewhere) onto it, as well as to relocate those widgets to another position.
Gtk::Layout), allowing to attach child widgets at specific positions, together with custom drawing. Definition at line 109 of file canvas-hook.hpp.
Classes | |
| struct | Pos |
Public Member Functions | |
| virtual | ~CanvasHook () |
| this is an interface | |
| virtual void | hook (WID &widget, int xPos, int yPos)=0 |
| virtual void | move (WID &widget, int xPos, int yPos)=0 |
| virtual void | remove (WID &widget)=0 |
| virtual DisplayMetric & | getMetric () const =0 |
| access the component to handle layout metric | |
| virtual CanvasHook< WID > & | getAnchorHook () noexcept |
| Anchor point to build chains of related View Hooks. | |
| 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. | |
|
inlinevirtual |
this is an interface
Definition at line 112 of file canvas-hook.hpp.
| struct stage::model::CanvasHook::Pos |
|
pure virtual |
Implemented in BodyCanvasWidget, and RelativeCanvasHook< WID >.
|
pure virtual |
Implemented in BodyCanvasWidget, and RelativeCanvasHook< WID >.
|
pure virtual |
Implemented in BodyCanvasWidget, and RelativeCanvasHook< WID >.
|
pure virtual |
access the component to handle layout metric
Implemented in BodyCanvasWidget, RelativeCanvasHook< WID >, RelativeCanvasHook< Gtk::Widget >, and FakeCanvas.
Referenced by CanvasHook< WID >::hookedAt().
Here is the caller graph for this function:
|
inlinevirtualnoexcept |
Anchor point to build chains of related View Hooks.
Reimplemented in RelativeCanvasHook< WID >, and RelativeCanvasHook< Gtk::Widget >.
Definition at line 123 of file canvas-hook.hpp.
|
inline |
Definition at line 135 of file canvas-hook.hpp.
Referenced by ClipDelegate::establishHookPoint(), and CanvasHook< WID >::hookedAt().
Here is the caller graph for this function:build the "construction hook" for a CanvasHooked element, which is to be attached to some timeline canvas view.
| start | anchor point / nominal start point of the element |
| downshift | (optional) vertical shift down from the baseline |
Definition at line 146 of file canvas-hook.hpp.
References CanvasHook< WID >::getMetric(), and CanvasHook< WID >::hookedAt().
Here is the call graph for this function:
Inheritance diagram for CanvasHook< WID >:
Collaboration diagram for CanvasHook< WID >: