MythTV
master
|
#include <cc708window.h>
Public Member Functions | |
CC708CharacterAttribute (bool isItalic=false, bool isBold=false, bool isUnderline=false, QColor fgColor=QColor()) | |
QColor | GetFGColor (void) const |
QColor | GetBGColor (void) const |
QColor | GetEdgeColor (void) const |
uint | GetFGAlpha (void) const |
uint | GetBGAlpha (void) const |
bool | operator== (const CC708CharacterAttribute &other) const |
bool | operator!= (const CC708CharacterAttribute &other) const |
Static Public Member Functions | |
static QColor | ConvertToQColor (uint eia708color) |
Public Attributes | |
uint | m_penSize {k708AttrSizeStandard} |
uint | m_offset {k708AttrOffsetNormal} |
uint | m_textTag {0} |
uint | m_fontTag {0} |
uint | m_edgeType {k708AttrEdgeNone} |
bool | m_underline {false} |
bool | m_italics {false} |
bool | m_boldface {false} |
uint | m_fgColor {k708AttrColorWhite} |
uint | m_fgOpacity {k708AttrOpacitySolid} |
uint | m_bgColor {k708AttrColorBlack} |
uint | m_bgOpacity {k708AttrOpacitySolid} |
uint | m_edgeColor {k708AttrColorBlack} |
QColor | m_actualFgColor |
Definition at line 87 of file cc708window.h.
|
inlineexplicit |
Definition at line 107 of file cc708window.h.
|
static |
Definition at line 696 of file cc708window.cpp.
Referenced by GetBGColor(), GetEdgeColor(), GetFGColor(), and CC708Window::GetFillColor().
|
inline |
Definition at line 120 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), FormattedTextChunk::ToLogString(), and FormattedTextSubtitle::ToSRT().
|
inline |
Definition at line 127 of file cc708window.h.
Referenced by SubtitleFormat::GetBackground(), and FormattedTextChunk::ToLogString().
|
inline |
Definition at line 133 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), and FormattedTextChunk::ToLogString().
|
inline |
Definition at line 135 of file cc708window.h.
Referenced by GetFGColor(), SubtitleFormat::GetFont(), and FormattedTextChunk::ToLogString().
|
inline |
Definition at line 142 of file cc708window.h.
Referenced by GetBGColor(), and FormattedTextChunk::ToLogString().
bool CC708CharacterAttribute::operator== | ( | const CC708CharacterAttribute & | other | ) | const |
Definition at line 679 of file cc708window.cpp.
|
inline |
Definition at line 150 of file cc708window.h.
uint CC708CharacterAttribute::m_penSize {k708AttrSizeStandard} |
Definition at line 90 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), and FormattedTextChunk::ToLogString().
uint CC708CharacterAttribute::m_offset {k708AttrOffsetNormal} |
Definition at line 91 of file cc708window.h.
Referenced by operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), and FormattedTextChunk::ToLogString().
uint CC708CharacterAttribute::m_textTag {0} |
Definition at line 92 of file cc708window.h.
Referenced by operator==(), and CC708Pen::SetAttributes().
uint CC708CharacterAttribute::m_fontTag {0} |
Definition at line 93 of file cc708window.h.
Referenced by SubtitleFormat::CreateProviderDefault(), SubtitleFormat::Load(), SubtitleFormat::MakePrefix(), operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), and FormattedTextChunk::ToLogString().
uint CC708CharacterAttribute::m_edgeType {k708AttrEdgeNone} |
Definition at line 94 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), and FormattedTextChunk::ToLogString().
Definition at line 95 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), CC708Window::GetStrings(), operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), FormattedTextChunk::ToLogString(), and FormattedTextSubtitle::ToSRT().
Definition at line 96 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), operator==(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), FormattedTextChunk::ToLogString(), and FormattedTextSubtitle::ToSRT().
Definition at line 97 of file cc708window.h.
Referenced by SubtitleFormat::GetFont(), CC708Pen::SetAttributes(), CC708Pen::SetPenStyle(), FormattedTextChunk::ToLogString(), and FormattedTextSubtitle::ToSRT().
uint CC708CharacterAttribute::m_fgColor {k708AttrColorWhite} |
Definition at line 99 of file cc708window.h.
Referenced by GetFGColor(), operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().
uint CC708CharacterAttribute::m_fgOpacity {k708AttrOpacitySolid} |
Definition at line 100 of file cc708window.h.
Referenced by GetFGAlpha(), operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().
uint CC708CharacterAttribute::m_bgColor {k708AttrColorBlack} |
Definition at line 101 of file cc708window.h.
Referenced by GetBGColor(), operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().
uint CC708CharacterAttribute::m_bgOpacity {k708AttrOpacitySolid} |
Definition at line 102 of file cc708window.h.
Referenced by GetBGAlpha(), operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().
uint CC708CharacterAttribute::m_edgeColor {k708AttrColorBlack} |
Definition at line 103 of file cc708window.h.
Referenced by GetEdgeColor(), operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().
QColor CC708CharacterAttribute::m_actualFgColor |
Definition at line 105 of file cc708window.h.
Referenced by GetFGColor(), and CC708Pen::SetPenStyle().