Supporters update.
[dcpomatic.git] / src / wx / controls.h
index 0341da29009febe7c8878cdaad1981d787e60d3f..a7e32179c33d4830c39e0891e0e8cf5bb89f94cb 100644 (file)
@@ -38,7 +38,9 @@ class Content;
 class ContentView;
 class Film;
 class FilmViewer;
+class MarkersPanel;
 class PlayerVideo;
+
 class wxListCtrl;
 class wxToggleButton;
 
@@ -53,7 +55,7 @@ class Controls : public wxPanel
 public:
        Controls (
                wxWindow* parent,
-               std::shared_ptr<FilmViewer>,
+               FilmViewer &,
                bool editor_controls = true
                );
 
@@ -77,8 +79,9 @@ protected:
        wxSizer* _v_sizer;
        wxBoxSizer* _button_sizer;
        std::shared_ptr<Film> _film;
+       MarkersPanel* _markers;
        wxSlider* _slider;
-       std::weak_ptr<FilmViewer> _viewer;
+       FilmViewer& _viewer;
        boost::optional<std::string> _active_job;
 
 private: