diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-27 21:54:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-27 21:54:50 +0100 |
| commit | 6166c045a8de42edd09924fdd995a77a3b753e54 (patch) | |
| tree | 91da3177d9802c0b9da84607eb3c3831ffc975b5 /src/wx/timeline.h | |
| parent | a4642b6463430175d0f4e1ca284a4bf08bcf4de9 (diff) | |
Support for keeping video in sequence when changing lengths; tie selection in timeline with that in the editor.
Diffstat (limited to 'src/wx/timeline.h')
| -rw-r--r-- | src/wx/timeline.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/timeline.h b/src/wx/timeline.h index 566ca060a..348286db8 100644 --- a/src/wx/timeline.h +++ b/src/wx/timeline.h @@ -26,11 +26,12 @@ class Film; class View; class ContentView; +class FilmEditor; class Timeline : public wxPanel { public: - Timeline (wxWindow *, boost::shared_ptr<const Film>); + Timeline (wxWindow *, FilmEditor *, boost::shared_ptr<Film>); boost::shared_ptr<const Film> film () const; @@ -68,7 +69,8 @@ private: void resized (wxSizeEvent &); void assign_tracks (); - boost::weak_ptr<const Film> _film; + FilmEditor* _film_editor; + boost::weak_ptr<Film> _film; std::list<boost::shared_ptr<View> > _views; int _tracks; double _pixels_per_time_unit; |
