From ef5be12ec33d0a7e5348979c7db8088dd3afab47 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 28 Jun 2020 23:12:59 +0200 Subject: [PATCH] Make some methods private. --- src/wx/gl_video_view.h | 2 +- src/wx/simple_video_view.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index b91078da0..713f96555 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -36,7 +36,6 @@ public: GLVideoView (FilmViewer* viewer, wxWindow* parent); ~GLVideoView (); - void set_image (boost::shared_ptr image); wxWindow* get () const { return _canvas; } @@ -51,6 +50,7 @@ public: } private: + void set_image (boost::shared_ptr image); void set_image_and_draw (); void draw (Position inter_position, dcp::Size inter_size); void thread (); diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index a6a5cf47f..643c782b8 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -30,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; } @@ -43,6 +39,10 @@ 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 (); -- 2.30.2