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
Collaboration diagram for FormattedTextSubtitle708:
Collaboration graph

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 (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 143 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 

Definition at line 146 of file subtitlescreen.h.

Member Function Documentation

◆ Draw()

void FormattedTextSubtitle708::Draw ( void  )

Reimplemented from FormattedTextSubtitle.

Definition at line 1310 of file subtitlescreen.cpp.

◆ CacheNum()

int FormattedTextSubtitle708::CacheNum ( void  ) const

Reimplemented from FormattedTextSubtitle.

Definition at line 161 of file subtitlescreen.h.

◆ Init()

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

Definition at line 1327 of file subtitlescreen.cpp.

Referenced by FormattedTextSubtitle708().

Member Data Documentation

◆ m_num

int FormattedTextSubtitle708::m_num

Definition at line 167 of file subtitlescreen.h.

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

◆ m_bgFillAlpha

uint FormattedTextSubtitle708::m_bgFillAlpha

Definition at line 168 of file subtitlescreen.h.

Referenced by Draw().

◆ m_bgFillColor

QColor FormattedTextSubtitle708::m_bgFillColor

Definition at line 169 of file subtitlescreen.h.

Referenced by Draw().

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