X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=b932281746b0fe37c2e00c4860f3ce8d58935404;hb=e0da7a310a9e7f05c7c75fa7b39f1fb110567d60;hp=7d784d7156351eb57e6538dc41e060a3ab8baf8e;hpb=709a3af8ac11cdeb688f2d77209e036a88b3c714;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 7d784d715..b93228174 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -19,20 +19,26 @@ */ #include +#include +#include class FilmViewer; class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, FilmViewer* viewer); + PlayerInformation (wxWindow* parent, boost::weak_ptr viewer); - void update (); + void triggered_update (); private: - FilmViewer* _viewer; + void periodic_update (); + + boost::weak_ptr _viewer; wxSizer* _sizer; - wxStaticText* _cpl_name; - wxStaticText* _decoded_fps; + wxStaticText** _dcp; + wxStaticText* _dropped; + wxStaticText* _decode_resolution; + boost::scoped_ptr _timer; };