diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-10 00:40:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-10 01:07:58 +0100 |
| commit | fa98ed827fa805c6d34b0f4f4e4e683a186b13c1 (patch) | |
| tree | 1440199b8aba5421790556ec9d024d9b983ed139 /src/wx/text_panel.h | |
| parent | b371e9946d60fa9885220d81da7b73a4ba34b3e1 (diff) | |
Add link button for subtitle scale.
Diffstat (limited to 'src/wx/text_panel.h')
| -rw-r--r-- | src/wx/text_panel.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h index 3c6e183dc..a4ba07876 100644 --- a/src/wx/text_panel.h +++ b/src/wx/text_panel.h @@ -52,6 +52,7 @@ private: void y_offset_changed (); void x_scale_changed (); void y_scale_changed (); + void link_clicked(); void line_spacing_changed (); void dcp_track_changed (); void stream_changed (); @@ -90,8 +91,9 @@ private: wxStaticText* _x_scale_pc_label; wxStaticText* _y_scale_label; wxStaticText* _y_scale_pc_label; - SpinCtrl* _x_scale; - SpinCtrl* _y_scale; + wxSpinCtrl* _x_scale; + wxSpinCtrl* _y_scale; + wxToggleButton* _link; wxStaticText* _line_spacing_label; wxStaticText* _line_spacing_pc_label; SpinCtrl* _line_spacing; @@ -113,6 +115,8 @@ private: int _outline_subtitles_row; int _ccap_track_or_language_row; + bool _x_changed_last = false; + std::weak_ptr<Content> _analysis_content; boost::signals2::scoped_connection _analysis_finished_connection; std::shared_ptr<SubtitleAnalysis> _analysis; |
