diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-11 15:06:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-13 12:39:52 +0100 |
| commit | e8c5f14cb6736bdfa3610b2559c6c331c1c56984 (patch) | |
| tree | cb1a18b733411ce2b5a80aa0396d4aafdb11ff92 /src/wx/timeline.cc | |
| parent | 66527e65e21c2981d2b94f83ad9decfa99f46aad (diff) | |
Separate code for the content panel out into a separate class.
Diffstat (limited to 'src/wx/timeline.cc')
| -rw-r--r-- | src/wx/timeline.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 6141c8eed..d728bd47c 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -394,9 +394,9 @@ private: }; -Timeline::Timeline (wxWindow* parent, FilmEditor* ed, shared_ptr<Film> film) +Timeline::Timeline (wxWindow* parent, ContentPanel* cp, shared_ptr<Film> film) : wxPanel (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE) - , _film_editor (ed) + , _content_panel (cp) , _film (film) , _time_axis_view (new TimeAxisView (*this, 32)) , _tracks (0) @@ -603,7 +603,7 @@ Timeline::left_down (wxMouseEvent& ev) } if (view == *i) { - _film_editor->set_selection (cv->content ()); + _content_panel->set_selection (cv->content ()); } } |
