X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=a6a5cf47f1783b44235c9d771c6d359ff642b6d6;hb=f10e025eba54b0ab4dbe1b3611071b160ca89208;hp=40924839fad7dc900f97c2b6bbb14a92ec810075;hpb=e153d7f5dc128d97160e41bdda3c4e4a05c7140b;p=dcpomatic.git diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index 40924839f..a6a5cf47f 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -19,6 +19,8 @@ */ #include "video_view.h" +#include "lib/position.h" +#include #include class FilmViewer; @@ -37,11 +39,17 @@ public: } void update (); + void start (); + bool display_next_frame (bool non_blocking); private: + void refresh_panel (); void paint (); + void timer (); - FilmViewer* _viewer; wxPanel* _panel; boost::shared_ptr _image; + wxTimer _timer; + Position _inter_position; + dcp::Size _inter_size; };