X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_dialog.h;h=8796f2bbfc41add263dfb0ca328d960e95527053;hb=34eb57979b5293ac3b864310f8fc8c77c26343e2;hp=0d91baf22d354ba6662a72bd6f2a925e6e94cfa7;hpb=aaaa51f6d9eda60ab3b3d182c6d2a7a5bda375aa;p=dcpomatic.git diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index 0d91baf22..8796f2bbf 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,29 +18,30 @@ */ -#include -#include -#include + #include "timeline.h" +#include +LIBDCP_DISABLE_WARNINGS +#include +LIBDCP_ENABLE_WARNINGS + 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; };