MythTV  master
Public Member Functions | Private Member Functions | List of all members
FormattedTextSubtitle608 Class Reference

#include <subtitlescreen.h>

Inheritance diagram for FormattedTextSubtitle608:
Inheritance graph
[legend]
Collaboration diagram for FormattedTextSubtitle608:
Collaboration graph
[legend]

Public Member Functions

 FormattedTextSubtitle608 (const vector< CC608Text * > &buffers, const QString &base="", const QRect &safearea=QRect(), SubtitleScreen *p=nullptr)
 
void Layout (void) override
 
- Public Member Functions inherited from FormattedTextSubtitle
virtual ~FormattedTextSubtitle ()=default
 
virtual void WrapLongLines (void)
 
virtual void PreRender (void)
 
virtual void Draw (void)
 
virtual int CacheNum (void) const
 
QStringList ToSRT (void) const
 

Private Member Functions

void Init (const vector< CC608Text * > &buffers)
 

Additional Inherited Members

- Protected Member Functions inherited from FormattedTextSubtitle
 FormattedTextSubtitle (const QString &base, const QRect &safearea, uint64_t start, uint64_t duration, SubtitleScreen *p)
 
 FormattedTextSubtitle (void)=default
 
- Protected Attributes inherited from FormattedTextSubtitle
QString m_base
 
QVector< FormattedTextLinem_lines
 
const QRect m_safeArea
 
uint64_t m_start {0}
 
uint64_t m_duration {0}
 
SubtitleScreenm_subScreen {nullptr}
 
int m_xAnchorPoint {0}
 
int m_yAnchorPoint {0}
 
int m_xAnchor {0}
 
int m_yAnchor {0}
 
QRect m_bounds
 

Detailed Description

Definition at line 124 of file subtitlescreen.h.

Constructor & Destructor Documentation

◆ FormattedTextSubtitle608()

FormattedTextSubtitle608::FormattedTextSubtitle608 ( const vector< CC608Text * > &  buffers,
const QString &  base = "",
const QRect &  safearea = QRect(),
SubtitleScreen p = nullptr 
)
inline

Definition at line 127 of file subtitlescreen.h.

Member Function Documentation

◆ Layout()

void FormattedTextSubtitle608::Layout ( void  )
overridevirtual

Reimplemented from FormattedTextSubtitle.

Definition at line 1162 of file subtitlescreen.cpp.

◆ Init()

void FormattedTextSubtitle608::Init ( const vector< CC608Text * > &  buffers)
private

Definition at line 1209 of file subtitlescreen.cpp.

Referenced by FormattedTextSubtitle608().


The documentation for this class was generated from the following files: