diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-23 11:20:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-23 11:20:12 +0100 |
| commit | df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc (patch) | |
| tree | 04e6f5917ed3c2e8ea45904ff0235c08d29a6446 /src/wx/content_panel.cc | |
| parent | 6f146336b73fe720c83cb75ebdf15e9cb9c02973 (diff) | |
More automated renaming.
ActiveCaptions -> ActiveText
BitmapCaption -> BitmapText
ContentCaption -> ContentText
ContentTextCaption -> ContentStringText
TextCaptionFileContent -> StringTextFileContent
TextCaptionFileDecoder -> StringTextFileDecoder
TextCaptionFile -> StringTextFile
TextCaption -> StringText
PlayerCaption -> PlayerText
CaptionContent -> TextContent
CaptionDecoder -> TextDecoder
CaptionPanel -> TextPanel
CaptionView -> TextView
CaptionAppearanceDialog -> SubtitleAppearanceDialog
CaptionType -> TextType
Diffstat (limited to 'src/wx/content_panel.cc')
| -rw-r--r-- | src/wx/content_panel.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index ce9c66a3e..a6338ecfd 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -22,13 +22,13 @@ #include "wx_util.h" #include "video_panel.h" #include "audio_panel.h" -#include "caption_panel.h" +#include "text_panel.h" #include "timing_panel.h" #include "timeline_dialog.h" #include "image_sequence_dialog.h" #include "film_viewer.h" #include "lib/audio_content.h" -#include "lib/caption_content.h" +#include "lib/text_content.h" #include "lib/video_content.h" #include "lib/ffmpeg_content.h" #include "lib/content_factory.h" @@ -39,8 +39,8 @@ #include "lib/config.h" #include "lib/log.h" #include "lib/compose.hpp" -#include "lib/text_caption_file_content.h" -#include "lib/text_caption_file.h" +#include "lib/string_text_file_content.h" +#include "lib/string_text_file.h" #include <wx/wx.h> #include <wx/notebook.h> #include <wx/listctrl.h> @@ -128,7 +128,7 @@ ContentPanel::ContentPanel (wxNotebook* n, boost::shared_ptr<Film> film, FilmVie _audio_panel = new AudioPanel (this); _panels.push_back (_audio_panel); for (int i = 0; i < CAPTION_COUNT; ++i) { - _caption_panel[i] = new CaptionPanel (this, static_cast<CaptionType>(i)); + _caption_panel[i] = new TextPanel (this, static_cast<TextType>(i)); _panels.push_back (_caption_panel[i]); } _timing_panel = new TimingPanel (this, _film_viewer); @@ -262,11 +262,11 @@ ContentPanel::selection_changed () BOOST_FOREACH (shared_ptr<Content> i, selected()) { DCPTime p; p = i->position(); - if (dynamic_pointer_cast<TextCaptionFileContent>(i) && i->paths_valid()) { + if (dynamic_pointer_cast<StringTextFileContent>(i) && i->paths_valid()) { /* Rather special case; if we select a text subtitle file jump to its first subtitle. */ - TextCaptionFile ts (dynamic_pointer_cast<TextCaptionFileContent>(i)); + StringTextFile ts (dynamic_pointer_cast<StringTextFileContent>(i)); if (ts.first()) { p += DCPTime(ts.first().get(), _film->active_frame_rate_change(i->position())); } @@ -306,7 +306,7 @@ ContentPanel::selection_changed () if (i->audio) { have_audio = true; } - BOOST_FOREACH (shared_ptr<CaptionContent> j, i->caption) { + BOOST_FOREACH (shared_ptr<TextContent> j, i->caption) { have_caption[j->original_type()] = true; } } |
