X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=cbb162023c29e402bb0561b0570a62cc0b8a38b7;hb=67ff55886b1ee86d99c2ea27d10c73b85b0504b7;hp=323047adaca9182fcc237c0dfa6a330aa3f6cfd7;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;p=dcpomatic.git diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index 323047ada..cbb162023 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -33,25 +33,21 @@ class SimpleVideoView : public VideoView public: SimpleVideoView (FilmViewer* viewer, wxWindow* parent); - wxWindow* get () const { + wxWindow* get () const override { return _panel; } - void update (); - void start (); - bool display_next_frame (bool non_blocking); + void update () override; + void start () override; + NextFrameResult display_next_frame (bool non_blocking) override; private: - void set_image (boost::shared_ptr image) { - _image = image; - } - void refresh_panel (); void paint (); void timer (); wxPanel* _panel; - boost::shared_ptr _image; + std::shared_ptr _image; wxTimer _timer; Position _inter_position; dcp::Size _inter_size;