X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=643c782b80d554fa441c391ff40315c7fcbc38e3;hp=f318e778b36db9517812aa90a0b4cdb5d0d6c469;hb=ef5be12ec33d0a7e5348979c7db8088dd3afab47;hpb=79355249a27ead72bc2bcd0a84e7a280a3d9a826 diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index f318e778b..643c782b8 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -20,6 +20,7 @@ #include "video_view.h" #include "lib/position.h" +#include #include class FilmViewer; @@ -29,10 +30,6 @@ class SimpleVideoView : public VideoView public: SimpleVideoView (FilmViewer* viewer, wxWindow* parent); - void set_image (boost::shared_ptr image) { - _image = image; - } - wxWindow* get () const { return _panel; } @@ -42,12 +39,17 @@ public: bool display_next_frame (bool non_blocking); private: + void set_image (boost::shared_ptr image) { + _image = image; + } + + void refresh_panel (); void paint (); void timer (); - void display_player_video (); wxPanel* _panel; boost::shared_ptr _image; wxTimer _timer; Position _inter_position; + dcp::Size _inter_size; };