X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=b311847cb17be9a6c638eff14e71be36ad081848;hb=600e0c67c61b29427602918daebb38a4822f95cb;hp=7eafeb122cfb25f3f61c3fedce044a4133ab9871;hpb=0b7c380031db6aa2ce546a2a0c89926f40eae6b5;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 7eafeb122..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,11 +40,13 @@ private: void periodic_update (); - FilmViewer* _viewer; + std::weak_ptr _viewer; + wxPanel* _kdm_panel; wxSizer* _sizer; - wxStaticText* _cpl_name; - wxStaticText* _size; - wxStaticText* _length; + wxStaticText** _dcp; + wxStaticText* _kdm_from; + wxStaticText* _kdm_to; wxStaticText* _dropped; + wxStaticText* _decode_resolution; boost::scoped_ptr _timer; };