Primitive dropped frame count in display.
[dcpomatic.git] / src / wx / player_information.h
index af18cfb76dc8646dccae7f559fee48832d585591..7eafeb122cfb25f3f61c3fedce044a4133ab9871 100644 (file)
@@ -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;
 };