110#ifndef STAGE_TIMELINE_CLIP_WIDGET_H
111#define STAGE_TIMELINE_CLIP_WIDGET_H
222 optional<TimeSpan>
const& timing =nullopt);
Specialised (abstracted) presentation context with positioning by coordinates.
Duration is the internal Lumiera time metric.
A time interval anchored at a specific point in time.
a mutable time value, behaving like a plain number, allowing copy and re-accessing
Lumiera's internal time value datatype.
Appearance
desired appearance style for the clip
virtual Appearance changeAppearance(Appearance desired)=0
alter appearance style, to the degree possible for this delegate.
WidgetHook::Pos establishHookPoint(WidgetHook *newView)
(re)establish current canvas attachment coordinates, thereby possibly switching to a new canvas imple...
virtual TimeVar & accessStartTime()=0
virtual Appearance currentAppearance() const =0
presentation mode and style currently employed
static Gtk::Widget & expect_and_expose_Widget(PDelegate &manager)
Wrapper to safely expose the actual clip implementation widget.
static const string defaultName
placeholder name – typically overridden from the model
virtual void updatePosition()=0
virtual TimeVar & accessDuration()=0
virtual cuString getClipName() const =0
human readable rendering of the clip's name or identity
static Appearance selectAppearance(PDelegate &existing, Appearance desired=PENDING, WidgetHook *newView=nullptr, optional< TimeSpan > const &timing=nullopt)
request to change the clip delegate's appearance style, if possible.
virtual uint getVerticalOffset() const =0
virtual uint calcRequiredHeight() const =0
virtual ~ClipDelegate()
this is an interface
static const int defaultOffsetY
vertical offset below the track start
virtual WidgetHook & getCanvas() const =0
virtual void setClipName(cuString &)=0
A set of basic GTK includes for the UI.
std::unique_ptr< ClipDelegate > PDelegate
Lumiera GTK UI implementation root.
a family of time value like entities and their relationships.