X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=b311847cb17be9a6c638eff14e71be36ad081848;hb=600e0c67c61b29427602918daebb38a4822f95cb;hp=0fcbb15ee840920e99b9cbd402fbe96c455cdb29;hpb=35e9a698ba3ca35fd488b3622e441956632261cf;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 0fcbb15ee..b311847cb 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -18,15 +18,21 @@ */ + +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include + class FilmViewer; + class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, FilmViewer* viewer); + PlayerInformation (wxWindow* parent, std::weak_ptr viewer); void triggered_update (); @@ -34,9 +40,13 @@ private: void periodic_update (); - FilmViewer* _viewer; + std::weak_ptr _viewer; + wxPanel* _kdm_panel; wxSizer* _sizer; wxStaticText** _dcp; + wxStaticText* _kdm_from; + wxStaticText* _kdm_to; wxStaticText* _dropped; + wxStaticText* _decode_resolution; boost::scoped_ptr _timer; };