summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-12 00:11:01 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-12 13:13:36 +0200
commit21606f2f5781f648c5dd26020983e4fdaec4fd19 (patch)
tree66c46e6f86824f34d39f7bb9438acc707e56c0e7 /src/wx/video_panel.h
parent61724dd3c9656d1e26ae945ce784ca50c2059695 (diff)
Add crop left/right top/bottom link control.
Diffstat (limited to 'src/wx/video_panel.h')
-rw-r--r--src/wx/video_panel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h
index 22c564482..31aeed2e1 100644
--- a/src/wx/video_panel.h
+++ b/src/wx/video_panel.h
@@ -31,6 +31,7 @@ class wxChoice;
class wxStaticText;
class wxSpinCtrl;
class wxButton;
+class wxToggleButton;
/** @class VideoPanel
* @brief The video tab of the film editor.
@@ -57,6 +58,12 @@ private:
void scale_fit_clicked ();
void scale_custom_clicked ();
bool scale_custom_edit_clicked ();
+ void left_right_link_clicked ();
+ void top_bottom_link_clicked ();
+ void left_crop_changed ();
+ void right_crop_changed ();
+ void top_crop_changed ();
+ void bottom_crop_changed ();
void setup_description ();
void setup_sensitivity ();
@@ -69,10 +76,12 @@ private:
wxStaticText* _crop_label;
wxStaticText* _left_crop_label;
ContentSpinCtrl<VideoContent>* _left_crop;
+ wxToggleButton* _left_right_link;
wxStaticText* _right_crop_label;
ContentSpinCtrl<VideoContent>* _right_crop;
wxStaticText* _top_crop_label;
ContentSpinCtrl<VideoContent>* _top_crop;
+ wxToggleButton* _top_bottom_link;
wxStaticText* _bottom_crop_label;
ContentSpinCtrl<VideoContent>* _bottom_crop;
wxStaticText* _fade_in_label;