diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-01 21:20:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-29 01:44:15 +0200 |
| commit | d5c059a2ff9bab5c2973db6bc4860591679dd42b (patch) | |
| tree | c8ec57cdeae4c3746f6ff7abd28816310540604b /src/wx/gl_video_view.h | |
| parent | 5b2b8279d8eb33d31166027d876b4c9f86087bfd (diff) | |
Primitive auto-crop (#1477).
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 273d50dc8..fd9154a73 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -100,6 +100,7 @@ private: void size_changed (wxSizeEvent const &); void setup_shaders (); void set_outline_content_colour (GLuint program); + void set_crop_guess_colour (GLuint program); wxGLCanvas* _canvas; wxGLContext* _context; @@ -130,6 +131,7 @@ private: Last<Position<int>> _last_inter_position; Last<dcp::Size> _last_inter_size; Last<dcp::Size> _last_out_size; + Last<boost::optional<dcpomatic::Rect<float>>> _last_crop_guess; boost::atomic<wxSize> _canvas_size; std::unique_ptr<Texture> _video_texture; |
