projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error when trying to make DCP-o-matic DKDMs due to attempts to make
[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 2eb62ab5f57dc1730e74a6f73c5a7a7143d122ff..686a1a1f3cc83c686569a617dafd605e677aac39 100644
(file)
--- a/
src/wx/simple_video_view.h
+++ b/
src/wx/simple_video_view.h
@@
-18,17
+18,29
@@
*/
*/
+#include "video_view.h"
+#include <wx/wx.h>
+
+class FilmViewer;
+
class SimpleVideoView : public VideoView
{
public:
class SimpleVideoView : public VideoView
{
public:
- SimpleVideoView (wxWindow* parent);
+ SimpleVideoView (
FilmViewer* viewer,
wxWindow* parent);
- void set_image (boost::shared_ptr<const Image> image);
+ void set_image (boost::shared_ptr<const Image> image) {
+ _image = image;
+ }
wxWindow* get () const {
return _panel;
}
wxWindow* get () const {
return _panel;
}
+ void update ();
+
private:
private:
+ void paint ();
+
wxPanel* _panel;
wxPanel* _panel;
+ boost::shared_ptr<const Image> _image;
};
};