Go to the source code of this file.
Classes | |
| class | SubtitleFormat |
Functions | |
| static const QString | kSubProvider ("provider") |
| static const QString | kSubFileName ("osd_subtitle.xml") |
| static const QString | kSubWindowName ("osd_subtitle") |
| static const QString | kSubFamily608 ("608") |
| static const QString | kSubFamily708 ("708") |
| static const QString | kSubFamilyText ("text") |
| static const QString | kSubFamilyAV ("AV") |
| static const QString | kSubFamilyTeletext ("teletext") |
| static const QString | kSubAttrItalics ("italics") |
| static const QString | kSubAttrBold ("bold") |
| static const QString | kSubAttrUnderline ("underline") |
| static const QString | kSubAttrPixelsize ("pixelsize") |
| static const QString | kSubAttrColor ("color") |
| static const QString | kSubAttrBGfill ("bgfill") |
| static const QString | kSubAttrShadow ("shadow") |
| static const QString | kSubAttrShadowoffset ("shadowoffset") |
| static const QString | kSubAttrShadowcolor ("shadowcolor") |
| static const QString | kSubAttrShadowalpha ("shadowalpha") |
| static const QString | kSubAttrOutline ("outline") |
| static const QString | kSubAttrOutlinecolor ("outlinecolor") |
| static const QString | kSubAttrOutlinesize ("outlinesize") |
| static const QString | kSubAttrOutlinealpha ("outlinealpha") |
| static QString | srtColorString (QColor color) |
| static QString | fontToString (MythFontProperties *f) |
| static QColor | differentColor (const QColor &color) |
| static QString | extract_cc608 (QString &text, bool teletextmode, int &color, bool &isItalic, bool &isUnderline) |
| Extract everything from the text buffer up until the next format control character. | |
| static QSize | CalcShadowOffsetPadding (MythFontProperties *mythfont) |
| static void | myth_libass_log (int level, const char *fmt, va_list vl, void *ctx) |
Variables | |
| static const float | PAD_WIDTH = 0.5 |
| static const float | PAD_HEIGHT = 0.04 |
| static const float | LINE_SPACING = (20.0 / 17.0) |
| static const QString kSubProvider | ( | "provider" | ) | [static] |
Referenced by SubtitleFormat::CreateProviderDefault().
| static const QString kSubFileName | ( | "osd_subtitle.xml" | ) | [static] |
Referenced by SubtitleFormat::Load().
| static const QString kSubWindowName | ( | "osd_subtitle" | ) | [static] |
Referenced by SubtitleFormat::Load().
| static const QString kSubFamily608 | ( | "608" | ) | [static] |
Referenced by SubtitleFormat::CreateProviderDefault(), and SubtitleScreen::EnableSubtitles().
| static const QString kSubFamily708 | ( | "708" | ) | [static] |
| static const QString kSubFamilyText | ( | "text" | ) | [static] |
Referenced by SubtitleFormat::CreateProviderDefault(), and SubtitleScreen::EnableSubtitles().
| static const QString kSubFamilyAV | ( | "AV" | ) | [static] |
Referenced by SubtitleScreen::EnableSubtitles(), and SubtitleScreen::SetZoom().
| static const QString kSubFamilyTeletext | ( | "teletext" | ) | [static] |
| static const QString kSubAttrItalics | ( | "italics" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrBold | ( | "bold" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrUnderline | ( | "underline" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrPixelsize | ( | "pixelsize" | ) | [static] |
Referenced by SubtitleFormat::Diff(), SubtitleFormat::GetFont(), and SubtitleFormat::Load().
| static const QString kSubAttrColor | ( | "color" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrBGfill | ( | "bgfill" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetBackground().
| static const QString kSubAttrShadow | ( | "shadow" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrShadowoffset | ( | "shadowoffset" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrShadowcolor | ( | "shadowcolor" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrShadowalpha | ( | "shadowalpha" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrOutline | ( | "outline" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrOutlinecolor | ( | "outlinecolor" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrOutlinesize | ( | "outlinesize" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static const QString kSubAttrOutlinealpha | ( | "outlinealpha" | ) | [static] |
Referenced by SubtitleFormat::Diff(), and SubtitleFormat::GetFont().
| static QString srtColorString | ( | QColor | color | ) | [static] |
Definition at line 1431 of file subtitlescreen.cpp.
Referenced by fontToString(), SubtitleFormat::GetBackground(), FormattedTextSubtitle::InitFromSRT(), FormattedTextChunk::ToLogString(), and FormattedTextSubtitle::ToSRT().
| static QString fontToString | ( | MythFontProperties * | f | ) | [static] |
Definition at line 133 of file subtitlescreen.cpp.
Referenced by SubtitleFormat::GetFont(), and SubtitleFormat::Load().
| static QColor differentColor | ( | const QColor & | color | ) | [static] |
Definition at line 231 of file subtitlescreen.cpp.
Referenced by SubtitleFormat::Complement().
| static QString extract_cc608 | ( | QString & | text, | |
| bool | teletextmode, | |||
| int & | color, | |||
| bool & | isItalic, | |||
| bool & | isUnderline | |||
| ) | [static] |
Extract everything from the text buffer up until the next format control character.
Return that substring, and remove it from the input string. Bogus control characters are left unchanged. If the buffer starts with a valid control character, the output parameters are corresondingly updated (and the control character is stripped).
Definition at line 1202 of file subtitlescreen.cpp.
Referenced by FormattedTextSubtitle::InitFromCC608().
| static QSize CalcShadowOffsetPadding | ( | MythFontProperties * | mythfont | ) | [static] |
Definition at line 2020 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::CalcPadding(), and SubtitleScreen::CalcTextSize().
| static void myth_libass_log | ( | int | level, | |
| const char * | fmt, | |||
| va_list | vl, | |||
| void * | ctx | |||
| ) | [static] |
Definition at line 2084 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::InitialiseAssLibrary().
const float PAD_WIDTH = 0.5 [static] |
Definition at line 517 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::CalcPadding().
const float PAD_HEIGHT = 0.04 [static] |
Definition at line 518 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::CalcTextSize().
const float LINE_SPACING = (20.0 / 17.0) [static] |
Definition at line 523 of file subtitlescreen.cpp.
Referenced by FormattedTextSubtitle::InitFromCC608(), and FormattedTextSubtitle::Layout().
1.6.3