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

#include <subtitlescreen.h>

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

Public Member Functions

 FormattedTextSubtitle708 (const CC708Window &win, int num, const vector< CC708String * > &list, const QString &base="", const QRect &safearea=QRect(), SubtitleScreen *p=nullptr, float aspect=1.77777f)
 
void Draw (void) override
 
int CacheNum (void) const override
 
- Public Member Functions inherited from FormattedTextSubtitle
virtual ~FormattedTextSubtitle ()=default
 
virtual void WrapLongLines (void)
 
virtual void Layout (void)
 
virtual void PreRender (void)
 
QStringList ToSRT (void) const
 

Private Member Functions

void Init (const CC708Window &win, const vector< CC708String * > &list, float aspect)
 

Private Attributes

int m_num
 
uint m_bgFillAlpha
 
QColor m_bgFillColor
 

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 140 of file subtitlescreen.h.

Constructor & Destructor Documentation

◆ FormattedTextSubtitle708()

FormattedTextSubtitle708::FormattedTextSubtitle708 ( const CC708Window win,
int  num,
const vector< CC708String * > &  list,
const QString &  base = "",
const QRect &  safearea = QRect(),
SubtitleScreen p = nullptr,
float  aspect = 1.77777f 
)
inline

Definition at line 143 of file subtitlescreen.h.

Member Function Documentation

◆ Draw()

void FormattedTextSubtitle708::Draw ( void  )
overridevirtual

Reimplemented from FormattedTextSubtitle.

Definition at line 1301 of file subtitlescreen.cpp.

◆ CacheNum()

int FormattedTextSubtitle708::CacheNum ( void  ) const
inlineoverridevirtual

Reimplemented from FormattedTextSubtitle.

Definition at line 158 of file subtitlescreen.h.

◆ Init()

void FormattedTextSubtitle708::Init ( const CC708Window win,
const vector< CC708String * > &  list,
float  aspect 
)
private

Definition at line 1318 of file subtitlescreen.cpp.

Referenced by FormattedTextSubtitle708().

Member Data Documentation

◆ m_num

int FormattedTextSubtitle708::m_num
private

Definition at line 164 of file subtitlescreen.h.

Referenced by CacheNum(), Draw(), and Init().

◆ m_bgFillAlpha

uint FormattedTextSubtitle708::m_bgFillAlpha
private

Definition at line 165 of file subtitlescreen.h.

Referenced by Draw().

◆ m_bgFillColor

QColor FormattedTextSubtitle708::m_bgFillColor
private

Definition at line 166 of file subtitlescreen.h.

Referenced by Draw().


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