X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_dialog.h;h=17128e108b1d2640112b06ae26a8f557d49677ba;hb=ac4ac42278546136357db0ede052faf5b80286e7;hp=c970b3b41295c2194f5a04c5fb8598f2a0b21247;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index c970b3b41..17128e108 100644 --- a/src/wx/timeline_dialog.h +++ b/src/wx/timeline_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2016 Carl Hetherington + Copyright (C) 2013-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,28 +18,27 @@ */ -#include -#include + #include #include "timeline.h" + class Playlist; + class TimelineDialog : public wxDialog { public: - TimelineDialog (ContentPanel *, boost::shared_ptr); + TimelineDialog (ContentPanel *, std::shared_ptr, std::weak_ptr viewer); void set_selection (ContentList selection); private: - void snap_toggled (); - void sequence_toggled (); - void film_changed (Film::Property); + void film_change (ChangeType type, Film::Property); + void tool_clicked (wxCommandEvent& id); - boost::weak_ptr _film; + std::weak_ptr _film; Timeline _timeline; - wxCheckBox* _snap; - wxCheckBox* _sequence; + wxToolBar* _toolbar; boost::signals2::scoped_connection _film_changed_connection; };