X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_dialog.h;h=ce7c9113ee3948b33ec7bf5b66d7ae7917b95286;hb=6bdf43931787f1f0b9f7dad2d5636ac78d29cdf2;hp=19a7ffade7adfbc477e2c9b1a925c2478b91c6ad;hpb=360f49fad409d1e37318ffcf3069c4111c19c7b8;p=dcpomatic.git diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index 19a7ffade..ce7c9113e 100644 --- a/src/wx/timeline_dialog.h +++ b/src/wx/timeline_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2016 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,15 +27,18 @@ class Playlist; class TimelineDialog : public wxDialog { public: - TimelineDialog (FilmEditor *, boost::shared_ptr); + TimelineDialog (ContentPanel *, boost::shared_ptr); + + void set_selection (ContentList selection); private: void snap_toggled (); - void sequence_video_toggled (); + void sequence_toggled (); void film_changed (Film::Property); - + boost::weak_ptr _film; Timeline _timeline; wxCheckBox* _snap; - wxCheckBox* _sequence_video; + wxCheckBox* _sequence; + boost::signals2::scoped_connection _film_changed_connection; };