X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_labels_view.cc;h=d3aa02afcc68b20b981a3029499721f5d40de0c6;hb=4622d466b21702800791a7f44ef590f899f128c9;hp=af9cb771e29273b8c088d5c02e028940b464c42f;hpb=cbd4450197a083bf58bda510e626f73ba583cb66;p=dcpomatic.git diff --git a/src/wx/timeline_labels_view.cc b/src/wx/timeline_labels_view.cc index af9cb771e..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) - , _caption_tracks (0) + , _text_tracks (0) , _atmos (true) { wxString labels[] = { _("Video"), _("Audio"), - _("Captions"), + _("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 (_caption_tracks) { - ty = fy + _caption_tracks * h; - gc->DrawText (_("Captions"), 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_caption_tracks (int n) +TimelineLabelsView::set_text_tracks (int n) { - _caption_tracks = n; + _text_tracks = n; } void