Basics of multiple captions per content so that DCPContent can
[dcpomatic.git] / src / wx / timeline_labels_view.cc
index 43adfc936a41820b1659ff38eb2c2a1554b4442f..af9cb771e29273b8c088d5c02e028940b464c42f 100644 (file)
@@ -32,13 +32,13 @@ TimelineLabelsView::TimelineLabelsView (Timeline& tl)
        : TimelineView (tl)
        , _threed (true)
        , _audio_tracks (0)
-       , _subtitle_tracks (0)
+       , _caption_tracks (0)
        , _atmos (true)
 {
        wxString labels[] = {
                _("Video"),
                _("Audio"),
-               _("Subtitles"),
+               _("Captions"),
                _("Atmos")
        };
 
@@ -70,9 +70,9 @@ TimelineLabelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> >
        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 (_caption_tracks) {
+               ty = fy + _caption_tracks * h;
+               gc->DrawText (_("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_caption_tracks (int n)
 {
-       _subtitle_tracks = n;
+       _caption_tracks = n;
 }
 
 void