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/video_panel.cc | |
| parent | b371e9946d60fa9885220d81da7b73a4ba34b3e1 (diff) | |
Add link button for subtitle scale.
Diffstat (limited to 'src/wx/video_panel.cc')
| -rw-r--r-- | src/wx/video_panel.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 7842f0266..771d3e2b7 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -101,10 +101,8 @@ VideoPanel::create() boost::bind(&VideoPanel::left_crop_changed, this) ); - auto const link_path = bitmap_path(gui_is_dark() ? "link_white.png" : "link_black.png"); - _left_right_link = new wxToggleButton(this, wxID_ANY, {}, wxDefaultPosition, dcpomatic::wx::link_size(this)); - _left_right_link->SetBitmap(wxBitmap(link_path, wxBITMAP_TYPE_PNG)); + _left_right_link->SetBitmap(wxBitmap(dcpomatic::wx::link_bitmap_path(), wxBITMAP_TYPE_PNG)); _right_crop_label = create_label(this, _("Right"), true); _right_crop = new ContentSpinCtrl<VideoContent>( @@ -129,7 +127,7 @@ VideoPanel::create() ); _top_bottom_link = new wxToggleButton(this, wxID_ANY, {}, wxDefaultPosition, dcpomatic::wx::link_size(this)); - _top_bottom_link->SetBitmap(wxBitmap(link_path, wxBITMAP_TYPE_PNG)); + _top_bottom_link->SetBitmap(wxBitmap(dcpomatic::wx::link_bitmap_path(), wxBITMAP_TYPE_PNG)); _bottom_crop_label = create_label(this, _("Bottom"), true); _bottom_crop = new ContentSpinCtrl<VideoContent>( |
