Lumiera  0.pre.03
»edityourfreedom«
Clip Class Reference

#include "gui/widget/timeline/timeline-clip.hpp"

Description

Definition at line 50 of file timeline-clip.hpp.

Public Member Functions

 Clip (shared_ptr< model::Clip > clip, shared_ptr< timeline::DrawStrategy > drawStrategy)
 
Time getBegin () const
 
Time getEnd () const
 
string getName () const
 
void setSelected (bool)
 Sets the selected status of the clip. More...
 
- Public Member Functions inherited from Entity
virtual void draw (Cairo::RefPtr< Cairo::Context > cairo, TimelineViewWindow *const window) const
 
bool getEnabled () const
 
void setEnabled (bool selected)
 

Private Attributes

shared_ptr< model::ClipmodelClip
 
bool selected
 this clip is selected in the GUI More...
 

Additional Inherited Members

- Protected Member Functions inherited from Entity
 Entity (shared_ptr< timeline::DrawStrategy > drawStrategy)
 
virtual ~Entity ()
 

Constructor & Destructor Documentation

◆ Clip()

Clip ( shared_ptr< model::Clip clip,
shared_ptr< timeline::DrawStrategy drawStrategy 
)

Definition at line 38 of file timeline-clip.cpp.

References Clip::modelClip.

Member Function Documentation

◆ getBegin()

Time getBegin ( ) const
virtual

Implements Entity.

Definition at line 51 of file timeline-clip.cpp.

References Clip::modelClip.

◆ getEnd()

Time getEnd ( ) const
virtual

Implements Entity.

Definition at line 58 of file timeline-clip.cpp.

References Clip::modelClip.

◆ getName()

string getName ( ) const
virtual

Implements Entity.

Definition at line 65 of file timeline-clip.cpp.

References Clip::modelClip.

◆ setSelected()

void setSelected ( bool  selected)

Sets the selected status of the clip.

Definition at line 72 of file timeline-clip.cpp.

References Clip::selected.

Member Data Documentation

◆ modelClip

shared_ptr<model::Clip> modelClip
private

Definition at line 67 of file timeline-clip.hpp.

Referenced by Clip::Clip(), Clip::getBegin(), Clip::getEnd(), and Clip::getName().

◆ selected

bool selected
private

this clip is selected in the GUI

Definition at line 70 of file timeline-clip.hpp.

Referenced by Clip::setSelected().

+ Inheritance diagram for Clip:
+ Collaboration diagram for Clip:

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