From df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Jul 2018 11:20:12 +0100 Subject: 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 --- src/lib/types.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/types.cc') diff --git a/src/lib/types.cc b/src/lib/types.cc index 5474b609a..7f0bf4305 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -93,7 +93,7 @@ Crop::as_xml (xmlpp::Node* node) const node->add_child("BottomCrop")->add_child_text (raw_convert (bottom)); } -CaptionType +TextType string_to_caption_type (string s) { if (s == "open") { @@ -106,7 +106,7 @@ string_to_caption_type (string s) } string -caption_type_to_string (CaptionType t) +caption_type_to_string (TextType t) { switch (t) { case CAPTION_OPEN: @@ -119,7 +119,7 @@ caption_type_to_string (CaptionType t) } string -caption_type_to_name (CaptionType t) +caption_type_to_name (TextType t) { switch (t) { case CAPTION_OPEN: -- cgit v1.2.3