X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_labels_view.cc;h=d3aa02afcc68b20b981a3029499721f5d40de0c6;hb=3b173e309f9f2736aa7e7d09900c5baee4ef31b3;hp=43adfc936a41820b1659ff38eb2c2a1554b4442f;hpb=ea8bceee9e9d2e43fe4e49067013295931687f96;p=dcpomatic.git diff --git a/src/wx/timeline_labels_view.cc b/src/wx/timeline_labels_view.cc index 43adfc936..d3aa02afc 100644 --- a/src/wx/timeline_labels_view.cc +++ b/src/wx/timeline_labels_view.cc @@ -32,13 +32,13 @@ TimelineLabelsView::TimelineLabelsView (Timeline& tl) : TimelineView (tl) , _threed (true) , _audio_tracks (0) - , _subtitle_tracks (0) + , _text_tracks (0) , _atmos (true) { wxString labels[] = { _("Video"), _("Audio"), - _("Subtitles"), + _("Subtitles/captions"), _("Atmos") }; @@ -50,7 +50,7 @@ TimelineLabelsView::TimelineLabelsView (Timeline& tl) _width = max (_width, size.GetWidth()); } - _width += 16; + _width += 24; } dcpomatic::Rect @@ -70,9 +70,9 @@ TimelineLabelsView::do_paint (wxGraphicsContext* gc, list > gc->DrawText (_("Video"), 0, (ty + fy) / 2 - 8); fy = ty; - if (_subtitle_tracks) { - ty = fy + _subtitle_tracks * h; - gc->DrawText (_("Subtitles"), 0, (ty + fy) / 2 - 8); + if (_text_tracks) { + ty = fy + _text_tracks * h; + gc->DrawText (_("Subtitles/captions"), 0, (ty + fy) / 2 - 8); fy = ty; } @@ -101,9 +101,9 @@ TimelineLabelsView::set_audio_tracks (int n) } void -TimelineLabelsView::set_subtitle_tracks (int n) +TimelineLabelsView::set_text_tracks (int n) { - _subtitle_tracks = n; + _text_tracks = n; } void