X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=a6a5cf47f1783b44235c9d771c6d359ff642b6d6;hb=aa382124eeabcad7a7346d46fb5f931c1364a849;hp=d271416528390ad39b04377614d53098f3791962;hpb=7c33cdd95a23ff784c0e0731a9d1444ce9bb8f09;p=dcpomatic.git diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index d27141652..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,15 +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); wxPanel* _panel; boost::shared_ptr _image; wxTimer _timer; + Position _inter_position; + dcp::Size _inter_size; };