diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-31 02:40:14 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-17 00:04:03 +0200 |
| commit | 2d2245b1e5824aae958e54b33670a461323f9bd6 (patch) | |
| tree | 99a2ac57fcd25ab34463409a44ce64ffe88f4253 /src/wx/gl_video_view.h | |
| parent | 0237f40ca78f5d08fb8d1ce9c10a6ca1a3762837 (diff) | |
Support content crop in the GL backend.
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 dc048e6b0..d915636af 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -19,6 +19,7 @@ */ +#include "lib/crop.h" #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS #include <wx/glcanvas.h> @@ -134,6 +135,7 @@ private: Last<Position<int>> _last_inter_position; Last<dcp::Size> _last_inter_size; Last<dcp::Size> _last_out_size; + Last<Crop> _last_crop; Last<boost::optional<dcpomatic::Rect<float>>> _last_crop_guess; boost::atomic<wxSize> _canvas_size; |
