diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-14 22:55:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-14 22:55:05 +0100 |
| commit | 0b7c380031db6aa2ce546a2a0c89926f40eae6b5 (patch) | |
| tree | 1dfc57348b80acd4f91e28c234bfd73333822b42 /src/wx/player_information.h | |
| parent | 2f7c57ed8650320ec25e981ff646820bf77e5793 (diff) | |
Primitive dropped frame count in display.
Diffstat (limited to 'src/wx/player_information.h')
| -rw-r--r-- | src/wx/player_information.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/player_information.h b/src/wx/player_information.h index af18cfb76..7eafeb122 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -19,6 +19,7 @@ */ #include <wx/wx.h> +#include <boost/scoped_ptr.hpp> class FilmViewer; @@ -27,13 +28,17 @@ class PlayerInformation : public wxPanel public: PlayerInformation (wxWindow* parent, FilmViewer* viewer); - void update (); + void triggered_update (); private: + void periodic_update (); + FilmViewer* _viewer; wxSizer* _sizer; wxStaticText* _cpl_name; wxStaticText* _size; wxStaticText* _length; + wxStaticText* _dropped; + boost::scoped_ptr<wxTimer> _timer; }; |
