summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-10 23:21:30 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-10 23:21:30 +0100
commit834231bc8e76aea27cc898361e168864301a6450 (patch)
treeed5b97f9f2bc08f4fab7fb8e270bc89f77000ca9 /src/wx/gl_video_view.h
parent88342fb03c20f2e7380a11fd77fef74a4c8b454f (diff)
Fix updating of crop guess rectangle from the auto-crop dialog.
Before the change in the dialog would raise an ImageChanged which would reset the crop again, making it unchangeable.
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index 830156dd9..35f4aeeda 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -80,6 +80,7 @@ public:
return _canvas;
}
void update() override;
+ void update_crop_guess() override;
void start() override;
void stop() override;
@@ -97,6 +98,7 @@ private:
enum class Request {
NONE,
SET_IMAGE_AND_DRAW,
+ SET_CROP_GUESS_AND_DRAW,
};
void set_image(std::shared_ptr<const PlayerVideo> pv);