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 std::vector< CC708String * > &list, const QString &base="", 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 std::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, QRect safearea, std::chrono::milliseconds start, std::chrono::milliseconds duration, SubtitleScreen *p)
 FormattedTextSubtitle (void)=default
- Protected Attributes inherited from FormattedTextSubtitle
QString m_base
QVector< FormattedTextLinem_lines
const QRect m_safeArea
std::chrono::milliseconds m_start {0ms}
std::chrono::milliseconds m_duration {0ms}
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 147 of file subtitlescreen.h.

Constructor & Destructor Documentation

◆ FormattedTextSubtitle708()

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

Definition at line 150 of file subtitlescreen.h.

Member Function Documentation

◆ Draw()

void FormattedTextSubtitle708::Draw ( void  )

Reimplemented from FormattedTextSubtitle.

Definition at line 1325 of file subtitlescreen.cpp.

◆ CacheNum()

int FormattedTextSubtitle708::CacheNum ( void  ) const

Reimplemented from FormattedTextSubtitle.

Definition at line 165 of file subtitlescreen.h.

◆ Init()

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

Definition at line 1342 of file subtitlescreen.cpp.

Member Data Documentation

◆ m_num

int FormattedTextSubtitle708::m_num

Definition at line 171 of file subtitlescreen.h.

Referenced by Draw(), and Init().

◆ m_bgFillAlpha

uint FormattedTextSubtitle708::m_bgFillAlpha

Definition at line 172 of file subtitlescreen.h.

Referenced by Draw().

◆ m_bgFillColor

QColor FormattedTextSubtitle708::m_bgFillColor

Definition at line 173 of file subtitlescreen.h.

Referenced by Draw().

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