|
MythTV
0.27pre
|
#include <subtitlescreen.h>

Public Member Functions | |
| FormattedTextSubtitle (const QRect &safearea, SubtitleScreen *p) | |
| FormattedTextSubtitle (void) | |
| void | InitFromCC608 (vector< CC608Text * > &buffers, int textFontZoom=100) |
| void | InitFromCC708 (const CC708Window &win, int num, const vector< CC708String * > &list, float aspect=1.77777f, int textFontZoom=100) |
| void | InitFromSRT (QStringList &subs, int textFontZoom) |
| void | WrapLongLines (void) |
| void | Layout (void) |
| void | Layout608 (void) |
| bool | Draw (const QString &base, QList< MythUIType * > *imageCache=NULL, uint64_t start=0, uint64_t duration=0) const |
| QStringList | ToSRT (void) const |
Public Attributes | |
| QRect | m_bounds |
Private Attributes | |
| QVector< FormattedTextLine > | m_lines |
| const QRect | m_safeArea |
| SubtitleScreen * | parent |
| int | m_xAnchorPoint |
| int | m_yAnchorPoint |
| int | m_xAnchor |
| int | m_yAnchor |
Definition at line 183 of file subtitlescreen.h.
|
inline |
Definition at line 186 of file subtitlescreen.h.
|
inline |
Definition at line 195 of file subtitlescreen.h.
| void FormattedTextSubtitle::InitFromCC608 | ( | vector< CC608Text * > & | buffers, |
| int | textFontZoom = 100 |
||
| ) |
Definition at line 1489 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DisplayCC608Subtitles(), and MythCCExtractorPlayer::Ingest608Captions().
| void FormattedTextSubtitle::InitFromCC708 | ( | const CC708Window & | win, |
| int | num, | ||
| const vector< CC708String * > & | list, | ||
| float | aspect = 1.77777f, |
||
| int | textFontZoom = 100 |
||
| ) |
Definition at line 1567 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DisplayCC708Subtitles(), and MythCCExtractorPlayer::Ingest708Caption().
Definition at line 1604 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DrawTextSubtitles().
Definition at line 1752 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DrawTextSubtitles().
Definition at line 1845 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DisplayCC608Subtitles(), SubtitleScreen::DisplayCC708Subtitles(), and SubtitleScreen::DrawTextSubtitles().
Definition at line 1796 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DisplayCC608Subtitles().
| bool FormattedTextSubtitle::Draw | ( | const QString & | base, |
| QList< MythUIType * > * | imageCache = NULL, |
||
| uint64_t | start = 0, |
||
| uint64_t | duration = 0 |
||
| ) | const |
Definition at line 1915 of file subtitlescreen.cpp.
Referenced by SubtitleScreen::DisplayCC608Subtitles(), SubtitleScreen::DisplayCC708Subtitles(), and SubtitleScreen::DrawTextSubtitles().
| QStringList FormattedTextSubtitle::ToSRT | ( | void | ) | const |
Definition at line 2009 of file subtitlescreen.cpp.
Referenced by MythCCExtractorPlayer::Ingest608Captions(), and MythCCExtractorPlayer::Ingest708Caption().
| QRect FormattedTextSubtitle::m_bounds |
Definition at line 216 of file subtitlescreen.h.
Referenced by SubtitleScreen::DisplayCC708Subtitles(), and Layout().
|
private |
Definition at line 219 of file subtitlescreen.h.
Referenced by Draw(), InitFromCC608(), InitFromCC708(), InitFromSRT(), Layout(), Layout608(), ToSRT(), and WrapLongLines().
|
private |
Definition at line 220 of file subtitlescreen.h.
Referenced by InitFromCC608(), InitFromCC708(), InitFromSRT(), Layout(), Layout608(), and WrapLongLines().
|
private |
Definition at line 221 of file subtitlescreen.h.
Referenced by Draw(), InitFromCC608(), InitFromCC708(), and InitFromSRT().
|
private |
Definition at line 222 of file subtitlescreen.h.
Referenced by FormattedTextSubtitle(), InitFromCC708(), InitFromSRT(), and Layout().
|
private |
Definition at line 223 of file subtitlescreen.h.
Referenced by FormattedTextSubtitle(), InitFromCC708(), InitFromSRT(), and Layout().
|
private |
Definition at line 224 of file subtitlescreen.h.
Referenced by FormattedTextSubtitle(), InitFromCC708(), InitFromSRT(), and Layout().
|
private |
Definition at line 225 of file subtitlescreen.h.
Referenced by FormattedTextSubtitle(), InitFromCC708(), InitFromSRT(), and Layout().
1.8.1.2