Dolby is apparently recreating all their certificates (as they will soon expire)...
[dcpomatic.git] / src / wx / controls.h
index 5f7dc387a252e549c38ecce3f1ca6c3330f624b3..f04f3aab6c60cc27bb4a02d7858131930b16fdb5 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "lib/dcpomatic_time.h"
 #include "lib/film.h"
-#include "lib/types.h"
 #include <dcp/warnings.h>
 LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
@@ -33,6 +32,7 @@ LIBDCP_ENABLE_WARNINGS
 #include <boost/signals2.hpp>
 
 
+class CheckBox;
 class ClosedCaptionsDialog;
 class Content;
 class ContentView;
@@ -55,7 +55,7 @@ class Controls : public wxPanel
 public:
        Controls (
                wxWindow* parent,
-               std::shared_ptr<FilmViewer>,
+               FilmViewer &,
                bool editor_controls = true
                );
 
@@ -81,7 +81,7 @@ protected:
        std::shared_ptr<Film> _film;
        MarkersPanel* _markers;
        wxSlider* _slider;
-       std::weak_ptr<FilmViewer> _viewer;
+       FilmViewer& _viewer;
        boost::optional<std::string> _active_job;
 
 private:
@@ -108,9 +108,9 @@ private:
 
        bool _slider_being_moved;
 
-       wxCheckBox* _outline_content;
+       CheckBox* _outline_content;
        wxChoice* _eye;
-       wxCheckBox* _jump_to_selected;
+       CheckBox* _jump_to_selected;
        wxButton* _rewind_button;
        wxButton* _back_button;
        wxButton* _forward_button;