projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add KDMWithMetadataPtr typedef
[dcpomatic.git]
/
src
/
wx
/
simple_video_view.h
diff --git
a/src/wx/simple_video_view.h
b/src/wx/simple_video_view.h
index 82c77a4efeb91ad2f9d5def42950299a877448b7..a6a5cf47f1783b44235c9d771c6d359ff642b6d6 100644
(file)
--- a/
src/wx/simple_video_view.h
+++ b/
src/wx/simple_video_view.h
@@
-19,6
+19,8
@@
*/
#include "video_view.h"
*/
#include "video_view.h"
+#include "lib/position.h"
+#include <dcp/types.h>
#include <wx/wx.h>
class FilmViewer;
#include <wx/wx.h>
class FilmViewer;
@@
-37,12
+39,17
@@
public:
}
void update ();
}
void update ();
+ void start ();
+ bool display_next_frame (bool non_blocking);
private:
private:
+ void refresh_panel ();
void paint ();
void timer ();
wxPanel* _panel;
boost::shared_ptr<const Image> _image;
wxTimer _timer;
void paint ();
void timer ();
wxPanel* _panel;
boost::shared_ptr<const Image> _image;
wxTimer _timer;
+ Position<int> _inter_position;
+ dcp::Size _inter_size;
};
};