X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=ae3e134295f3442694a1dceda5fcff9816f83d32;hb=93496b3a06749fb8b0ed1158768b03f5c92719fd;hp=7d784d7156351eb57e6538dc41e060a3ab8baf8e;hpb=709a3af8ac11cdeb688f2d77209e036a88b3c714;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 7d784d715..ae3e13429 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -18,21 +18,30 @@ */ +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS +#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; };