X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=a6a5cf47f1783b44235c9d771c6d359ff642b6d6;hp=686a1a1f3cc83c686569a617dafd605e677aac39;hb=166f44ff1b500f684417d660bb349d35383996ee;hpb=ec1df37a1940063dc0dbc45ad2dab638bdc92c0d diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index 686a1a1f3..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,10 +39,17 @@ public: } void update (); + void start (); + bool display_next_frame (bool non_blocking); private: + void refresh_panel (); void paint (); + void timer (); wxPanel* _panel; boost::shared_ptr _image; + wxTimer _timer; + Position _inter_position; + dcp::Size _inter_size; };