MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CC708CharacterAttribute Class Reference

#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 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
QColor actual_fg_color

Detailed Description

Definition at line 69 of file cc708window.h.

Constructor & Destructor Documentation

CC708CharacterAttribute::CC708CharacterAttribute ( bool  isItalic = false,
bool  isBold = false,
bool  isUnderline = false,
QColor  fgColor = QColor() 
)
inline

Definition at line 89 of file cc708window.h.

Member Function Documentation

QColor CC708CharacterAttribute::ConvertToQColor ( uint  eia708color)
static

Definition at line 576 of file cc708window.cpp.

Referenced by CC708Window::GetFillColor().

QColor CC708CharacterAttribute::GetFGColor ( void  ) const
inline

Definition at line 111 of file cc708window.h.

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

QColor CC708CharacterAttribute::GetBGColor ( void  ) const
inline

Definition at line 118 of file cc708window.h.

Referenced by SubtitleFormat::GetBackground().

QColor CC708CharacterAttribute::GetEdgeColor ( void  ) const
inline

Definition at line 124 of file cc708window.h.

Referenced by SubtitleFormat::GetFont().

uint CC708CharacterAttribute::GetFGAlpha ( void  ) const
inline

Definition at line 126 of file cc708window.h.

Referenced by SubtitleFormat::GetFont().

uint CC708CharacterAttribute::GetBGAlpha ( void  ) const
inline

Definition at line 133 of file cc708window.h.

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

Definition at line 559 of file cc708window.cpp.

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

Definition at line 141 of file cc708window.h.

Member Data Documentation

uint CC708CharacterAttribute::pen_size

Definition at line 72 of file cc708window.h.

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

uint CC708CharacterAttribute::offset

Definition at line 73 of file cc708window.h.

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

uint CC708CharacterAttribute::text_tag

Definition at line 74 of file cc708window.h.

Referenced by operator==().

uint CC708CharacterAttribute::font_tag
uint CC708CharacterAttribute::edge_type

Definition at line 76 of file cc708window.h.

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

uint CC708CharacterAttribute::underline
uint CC708CharacterAttribute::italics
uint CC708CharacterAttribute::boldface
uint CC708CharacterAttribute::fg_color

Definition at line 81 of file cc708window.h.

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

uint CC708CharacterAttribute::fg_opacity

Definition at line 82 of file cc708window.h.

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

uint CC708CharacterAttribute::bg_color

Definition at line 83 of file cc708window.h.

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

uint CC708CharacterAttribute::bg_opacity

Definition at line 84 of file cc708window.h.

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

uint CC708CharacterAttribute::edge_color

Definition at line 85 of file cc708window.h.

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

QColor CC708CharacterAttribute::actual_fg_color

Definition at line 87 of file cc708window.h.

Referenced by CC708Pen::SetPenStyle().


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