X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_dialog.h;h=ce7c9113ee3948b33ec7bf5b66d7ae7917b95286;hb=refs%2Fheads%2Fattic%2Fwarnings;hp=1e595500303b5b964b0ba54157c67d47f260625b;hpb=1b1bc528ee5ca1fee1bd33f9fb6f79cd551e3b33;p=dcpomatic.git diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index 1e5955003..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,11 +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_toggled (); + void film_changed (Film::Property); + + boost::weak_ptr _film; Timeline _timeline; wxCheckBox* _snap; + wxCheckBox* _sequence; + boost::signals2::scoped_connection _film_changed_connection; };