Make some methods private.
[dcpomatic.git] / src / wx / simple_video_view.h
index 82c77a4efeb91ad2f9d5def42950299a877448b7..643c782b80d554fa441c391ff40315c7fcbc38e3 100644 (file)
@@ -19,6 +19,8 @@
 */
 
 #include "video_view.h"
+#include "lib/position.h"
+#include <dcp/types.h>
 #include <wx/wx.h>
 
 class FilmViewer;
@@ -28,21 +30,26 @@ class SimpleVideoView : public VideoView
 public:
        SimpleVideoView (FilmViewer* viewer, wxWindow* parent);
 
-       void set_image (boost::shared_ptr<const Image> image) {
-               _image = image;
-       }
-
        wxWindow* get () const {
                return _panel;
        }
 
        void update ();
+       void start ();
+       bool display_next_frame (bool non_blocking);
 
 private:
+       void set_image (boost::shared_ptr<const Image> image) {
+               _image = image;
+       }
+
+       void refresh_panel ();
        void paint ();
        void timer ();
 
        wxPanel* _panel;
        boost::shared_ptr<const Image> _image;
        wxTimer _timer;
+       Position<int> _inter_position;
+       dcp::Size _inter_size;
 };