diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-28 23:12:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-28 23:13:04 +0200 |
| commit | ef5be12ec33d0a7e5348979c7db8088dd3afab47 (patch) | |
| tree | 08c37bcbd20769ef070031db1f6df66584a8ef6f | |
| parent | 92a2ca96e61ed040737a395b232cf22e5f3234c1 (diff) | |
Make some methods private.
| -rw-r--r-- | src/wx/gl_video_view.h | 2 | ||||
| -rw-r--r-- | 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<const Image> image); wxWindow* get () const { return _canvas; } @@ -51,6 +50,7 @@ public: } private: + void set_image (boost::shared_ptr<const Image> image); void set_image_and_draw (); void draw (Position<int> 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<const Image> 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<const Image> image) { + _image = image; + } + void refresh_panel (); void paint (); void timer (); |
