Lumiera  0.pre.03
»edit your freedom«
DormantClip Class Reference

Description

A Clip not directly mapped into presentation, yet present as entity within the timeline framework.

Definition at line 165 of file clip-widget.cpp.

Public Member Functions

 DormantClip (WidgetHook &displayAnchor)
 
 DormantClip (ClipData &&existing)
 state switch ctor
 
- Public Member Functions inherited from ClipData
 ClipData (TimeSpan const &timings=TimeSpan{Time::NEVER, Duration::NIL})
 
 ClipData (ClipData &&)=default
 
TimeVaraccessDuration () override
 
TimeVaraccessStartTime () override
 
- Public Member Functions inherited from ClipDelegate
virtual ~ClipDelegate ()
 this is an interface
 
WidgetHook::Pos establishHookPoint (WidgetHook *newView)
 (re)establish current canvas attachment coordinates, thereby possibly switching to a new canvas implementation More...
 

Private Member Functions

uint calcRequiredHeight () const override
 This is a mere data record without actual presentation, and thus can not occupy any screen extension.
 
Appearance changeAppearance (Appearance) override
 alter appearance style, to the degree possible for this delegate. More...
 
Appearance currentAppearance () const override
 presentation mode and style currently employed
 
WidgetHookgetCanvas () const override
 
cuString getClipName () const override
 human readable rendering of the clip's name or identity
 
uint getVerticalOffset () const override
 
void setClipName (cuString &newName) override
 
void updatePosition () override
 

Private Attributes

uString clipName_
 
WidgetHookdisplay_
 

Additional Inherited Members

- Public Types inherited from ClipDelegate
enum  Appearance {
  PENDING,
  SYMBOLIC,
  DEGRADED,
  ABRIDGED,
  COMPACT,
  EXPANDED
}
 desired appearance style for the clip
 
- Static Public Member Functions inherited from ClipDelegate
static Gtk::Widget & expect_and_expose_Widget (PDelegate &manager)
 Wrapper to safely expose the actual clip implementation widget. More...
 
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. More...
 
- Static Public Attributes inherited from ClipDelegate
static const string defaultName {_("clip")}
 placeholder name – typically overridden from the model
 
static const int defaultOffsetY {0}
 vertical offset below the track start
 

Member Function Documentation

◆ changeAppearance()

Appearance changeAppearance ( Appearance  desired)
inlineoverrideprivatevirtual

alter appearance style, to the degree possible for this delegate.

Returns
the new Appearance style acquired

Implements ClipDelegate.

Definition at line 180 of file clip-widget.cpp.

References ClipDelegate::currentAppearance().

+ Here is the call graph for this function:
+ Inheritance diagram for DormantClip:
+ Collaboration diagram for DormantClip:

The documentation for this class was generated from the following file: