Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GroupTrack Class Reference

#include "gui/widget/timeline/timeline-group-track.hpp"

Description

Definition at line 41 of file timeline-group-track.hpp.

Public Member Functions

 GroupTrack (TimelineWidget &timeline_widget, shared_ptr< model::GroupTrack > track)
 
void draw_track (Cairo::RefPtr< Cairo::Context > cairo, TimelineViewWindow *constwindow) const
 Draw the track. More...
 
- Public Member Functions inherited from Track
 Track (TimelineWidget &owner, shared_ptr< model::Track > track)
 
virtual ~Track ()
 this is an abstract base class More...
 
void expand_collapse (ExpandDirection direction)
 Expands or collapses this branch. More...
 
float get_expand_animation_state () const
 The current expand state. More...
 
bool get_expanded () const
 Gets whether the descendant tracks are expanded or collapsed. More...
 
Gtk::ExpanderStyle get_expander_style () const
 Calculates the expander style, given the animation state. More...
 
Gtk::Widget & get_header_widget ()
 
int get_height () const
 Return the visual height of the track in pixels. More...
 
virtual shared_ptr
< timeline::Clip
getClipAt (Time position) const
 Gets the clip that is occupying the given time. More...
 
shared_ptr< model::TrackgetModelTrack () const
 
bool is_expand_animating () const
 Gets whether the branch is animation. More...
 
void show_header_context_menu (guint button, guint32 time)
 
void tick_expand_animation ()
 When this track is being animated, tick_expand_animation must be called repeatedly to cause the animation to progress. More...
 

Protected Member Functions

void on_child_list_changed ()
 

Additional Inherited Members

- Public Types inherited from Track
enum  ExpandDirection {
  None,
  Expand,
  Collapse
}
 An enum used by the branch expand/collapse animation. More...
 
- Protected Attributes inherited from Track
shared_ptr< model::TrackmodelTrack
 
TimelineWidgettimelineWidget
 

Constructor & Destructor Documentation

GroupTrack ( TimelineWidget timeline_widget,
shared_ptr< model::GroupTrack track 
)

Definition at line 40 of file timeline-group-track.cpp.

References GroupTrack::on_child_list_changed().

+ Here is the call graph for this function:

Member Function Documentation

void draw_track ( Cairo::RefPtr< Cairo::Context >  cairo,
TimelineViewWindow window 
) const
virtual

Draw the track.

Implements Track.

Definition at line 58 of file timeline-group-track.cpp.

void on_child_list_changed ( )
protected

Definition at line 52 of file timeline-group-track.cpp.

References TimelineWidget::on_track_list_changed(), and Track::timelineWidget.

Referenced by GroupTrack::GroupTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

+ Inheritance diagram for GroupTrack:
+ Collaboration diagram for GroupTrack:

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