MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Public Attributes
CC708CharacterAttribute Class Reference

#include <cc708window.h>

List of all members.

Public Member Functions

 CC708CharacterAttribute (bool isItalic, bool isBold, bool isUnderline, QColor fgColor)
 CC708CharacterAttribute (void)
uint FontIndex (void) const
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 pen_size
uint offset
uint text_tag
uint font_tag
uint edge_type
uint underline
uint italics
uint boldface
uint fg_color
uint fg_opacity
uint bg_color
uint bg_opacity
uint edge_color
bool override_fg_color
QColor actual_fg_color

Detailed Description

Definition at line 69 of file cc708window.h.


Constructor & Destructor Documentation

CC708CharacterAttribute::CC708CharacterAttribute ( bool  isItalic,
bool  isBold,
bool  isUnderline,
QColor  fgColor 
) [inline]

Definition at line 92 of file cc708window.h.

Definition at line 111 of file cc708window.h.


Member Function Documentation

Definition at line 114 of file cc708window.h.

QColor CC708CharacterAttribute::ConvertToQColor ( uint  eia708color) [static]

Definition at line 542 of file cc708window.cpp.

Referenced by CC708Window::GetFillColor().

QColor CC708CharacterAttribute::GetFGColor ( void  ) const [inline]

Definition at line 120 of file cc708window.h.

Referenced by SubtitleFormat::GetFont(), and FormattedTextSubtitle::ToSRT().

QColor CC708CharacterAttribute::GetBGColor ( void  ) const [inline]

Definition at line 127 of file cc708window.h.

Referenced by SubtitleFormat::GetBackground().

QColor CC708CharacterAttribute::GetEdgeColor ( void  ) const [inline]

Definition at line 133 of file cc708window.h.

Referenced by SubtitleFormat::GetFont().

Definition at line 135 of file cc708window.h.

Referenced by SubtitleFormat::GetFont().

Definition at line 142 of file cc708window.h.

bool CC708CharacterAttribute::operator== ( const CC708CharacterAttribute other) const

Definition at line 525 of file cc708window.cpp.

bool CC708CharacterAttribute::operator!= ( const CC708CharacterAttribute other) const [inline]

Definition at line 150 of file cc708window.h.


Member Data Documentation

Definition at line 74 of file cc708window.h.

Referenced by SubtitleFormat::GetFont(), operator==(), and CC708Pen::SetPenStyle().

Definition at line 75 of file cc708window.h.

Referenced by operator==(), and CC708Pen::SetPenStyle().

Definition at line 76 of file cc708window.h.

Referenced by operator==().

Definition at line 78 of file cc708window.h.

Referenced by SubtitleFormat::GetFont(), operator==(), and CC708Pen::SetPenStyle().

Definition at line 83 of file cc708window.h.

Referenced by operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().

Definition at line 84 of file cc708window.h.

Referenced by operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().

Definition at line 85 of file cc708window.h.

Referenced by operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().

Definition at line 86 of file cc708window.h.

Referenced by operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().

Definition at line 87 of file cc708window.h.

Referenced by operator==(), CC708Reader::SetPenColor(), and CC708Pen::SetPenStyle().

Definition at line 89 of file cc708window.h.

Referenced by CC708Pen::SetPenStyle().

Definition at line 90 of file cc708window.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends