Remove Screen pointer from KDMWithMetadata, preferring to
[dcpomatic.git] / src / wx / simple_video_view.h
index 8527cdbe77424af52c6ec2a9f4c04b2a310ccf63..a6a5cf47f1783b44235c9d771c6d359ff642b6d6 100644 (file)
@@ -19,6 +19,8 @@
 */
 
 #include "video_view.h"
+#include "lib/position.h"
+#include <dcp/types.h>
 #include <wx/wx.h>
 
 class FilmViewer;
@@ -37,16 +39,17 @@ public:
        }
 
        void update ();
-
        void start ();
+       bool display_next_frame (bool non_blocking);
 
 private:
+       void refresh_panel ();
        void paint ();
        void timer ();
-       bool get (bool lazy);
-       void display_player_video ();
 
        wxPanel* _panel;
        boost::shared_ptr<const Image> _image;
        wxTimer _timer;
+       Position<int> _inter_position;
+       dcp::Size _inter_size;
 };