summaryrefslogtreecommitdiff
path: root/src/wx/player_information.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-14 22:55:05 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-14 22:55:05 +0100
commit0b7c380031db6aa2ce546a2a0c89926f40eae6b5 (patch)
tree1dfc57348b80acd4f91e28c234bfd73333822b42 /src/wx/player_information.h
parent2f7c57ed8650320ec25e981ff646820bf77e5793 (diff)
Primitive dropped frame count in display.
Diffstat (limited to 'src/wx/player_information.h')
-rw-r--r--src/wx/player_information.h7
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;
};