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.

CC708CharacterAttribute::CC708CharacterAttribute ( void   )  [inline]

Definition at line 111 of file cc708window.h.


Member Function Documentation

uint CC708CharacterAttribute::FontIndex ( void   )  const [inline]

Definition at line 114 of file cc708window.h.

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

Definition at line 542 of file cc708window.cpp.

Referenced by GetBGColor(), GetEdgeColor(), GetFGColor(), and CC708Window::GetFillColor().

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

Definition at line 133 of file cc708window.h.

Referenced by SubtitleFormat::GetFont(), and FormattedTextChunk::ToLogString().

uint CC708CharacterAttribute::GetFGAlpha ( void   )  const [inline]
uint CC708CharacterAttribute::GetBGAlpha ( void   )  const [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 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 76 of file cc708window.h.

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

Definition at line 89 of file cc708window.h.

Referenced by GetFGColor(), and CC708Pen::SetPenStyle().

Definition at line 90 of file cc708window.h.

Referenced by GetFGColor().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:52 2012 for MythTV by  doxygen 1.6.3