Lumiera
0.pre.03
»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 118 of file canvas-hook.hpp.
Public Member Functions | |
virtual | ~CanvasHook () |
this is an interface | |
virtual CanvasHook< WID > & | getAnchorHook () noexcept |
Anchor point to build chains of related View Hooks. | |
virtual DisplayMetric & | getMetric () const =0 |
access the component to handle layout metric | |
virtual void | hook (WID &widget, int xPos, int yPos)=0 |
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. More... | |
virtual void | move (WID &widget, int xPos, int yPos)=0 |
virtual void | remove (WID &widget)=0 |
Classes | |
struct | Pos |
struct stage::model::CanvasHook::Pos |
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 155 of file canvas-hook.hpp.