projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disallow referring to subtitles / closed captions with start trim.
[dcpomatic.git]
/
src
/
wx
/
player_information.h
diff --git
a/src/wx/player_information.h
b/src/wx/player_information.h
index af18cfb76dc8646dccae7f559fee48832d585591..ae3e134295f3442694a1dceda5fcff9816f83d32 100644
(file)
--- a/
src/wx/player_information.h
+++ b/
src/wx/player_information.h
@@
-18,22
+18,30
@@
*/
*/
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <boost/scoped_ptr.hpp>
+#include <boost/weak_ptr.hpp>
class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent,
FilmViewer*
viewer);
+ PlayerInformation (wxWindow* parent,
boost::weak_ptr<FilmViewer>
viewer);
- void update ();
+ void
triggered_
update ();
private:
private:
- FilmViewer* _viewer;
+ void periodic_update ();
+
+ boost::weak_ptr<FilmViewer> _viewer;
wxSizer* _sizer;
wxSizer* _sizer;
- wxStaticText* _cpl_name;
- wxStaticText* _size;
- wxStaticText* _length;
+ wxStaticText** _dcp;
+ wxStaticText* _dropped;
+ wxStaticText* _decode_resolution;
+ boost::scoped_ptr<wxTimer> _timer;
};
};