Note that newer libsub version is required.
[dcpomatic.git] / src / wx / player_information.h
index 269a9e6c7357555167fc6f7c6e585fbaeacf799a..2ce49371431e3f6e8162aedd66105918e22a40d2 100644 (file)
@@ -32,7 +32,7 @@ class FilmViewer;
 class PlayerInformation : public wxPanel
 {
 public:
-       PlayerInformation (wxWindow* parent, std::weak_ptr<FilmViewer> viewer);
+       PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
 
        void triggered_update ();
 
@@ -40,9 +40,12 @@ private:
 
        void periodic_update ();
 
-       std::weak_ptr<FilmViewer> _viewer;
+       FilmViewer const& _viewer;
+       wxPanel* _kdm_panel;
        wxSizer* _sizer;
        wxStaticText** _dcp;
+       wxStaticText* _kdm_from;
+       wxStaticText* _kdm_to;
        wxStaticText* _dropped;
        wxStaticText* _decode_resolution;
        boost::scoped_ptr<wxTimer> _timer;