CC708Window Class Reference

#include <cc708window.h>

List of all members.

Public Types

enum  {
  kAnchorUpperLeft = 0, kAnchorUpperCenter, kAnchorUpperRight, kAnchorCenterLeft = 3,
  kAnchorCenter, kAnchorCenterRight, kAnchorLowerLeft = 6, kAnchorLowerCenter,
  kAnchorLowerRight
}

Public Member Functions

 CC708Window ()
 ~CC708Window ()
void DefineWindow (int priority, int visible, int anchor_point, int relative_pos, int anchor_vertical, int anchor_horizontal, int row_count, int column_count, int row_lock, int column_lock, int pen_style, int window_style)
void Clear (void)
void SetWindowStyle (uint)
void AddChar (QChar)
void IncrPenLocation (void)
void DecrPenLocation (void)
void SetPenLocation (uint, uint)
void LimitPenLocation (void)
bool IsPenValid (void) const
CC708CharacterGetCCChar (void) const
vector< CC708String * > GetStrings (void) const
QColor GetFillColor (void) const
uint GetFillAlpha (void) const

Public Attributes

uint priority
uint visible
uint anchor_point
uint relative_pos
uint anchor_vertical
uint anchor_horizontal
uint row_count
uint column_count
uint row_lock
uint column_lock
uint pen_style
uint window_style
uint fill_color
uint fill_opacity
uint border_color
uint border_type
uint scroll_dir
uint print_dir
uint effect_dir
uint display_effect
uint effect_speed
uint justify
uint word_wrap
uint true_row_count
uint true_column_count
CC708Charactertext
CC708Pen pen
bool exists
 set to false when DeleteWindow is called on the window.
bool changed
QMutex lock

Private Member Functions

void Scroll (int row, int col)

Detailed Description

Definition at line 198 of file cc708window.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kAnchorUpperLeft 
kAnchorUpperCenter 
kAnchorUpperRight 
kAnchorCenterLeft 
kAnchorCenter 
kAnchorCenterRight 
kAnchorLowerLeft 
kAnchorLowerCenter 
kAnchorLowerRight 

Definition at line 246 of file cc708window.h.


Constructor & Destructor Documentation

CC708Window::CC708Window (  ) 

Definition at line 109 of file cc708window.cpp.

CC708Window::~CC708Window (  ) 

Definition at line 202 of file cc708window.cpp.


Member Function Documentation

void CC708Window::DefineWindow ( int  priority,
int  visible,
int  anchor_point,
int  relative_pos,
int  anchor_vertical,
int  anchor_horizontal,
int  row_count,
int  column_count,
int  row_lock,
int  column_lock,
int  pen_style,
int  window_style 
)

Definition at line 130 of file cc708window.cpp.

Referenced by CC708Reader::DefineWindow().

void CC708Window::Clear ( void   ) 

Definition at line 217 of file cc708window.cpp.

Referenced by CC708Reader::ClearWindows(), and CC708Reader::DeleteWindows().

void CC708Window::SetWindowStyle ( uint  style  ) 

Definition at line 286 of file cc708window.cpp.

Referenced by DefineWindow().

void CC708Window::AddChar ( QChar  ch  ) 

Definition at line 317 of file cc708window.cpp.

Referenced by CC708Reader::TextWrite().

void CC708Window::IncrPenLocation ( void   ) 

Definition at line 395 of file cc708window.cpp.

Referenced by AddChar().

void CC708Window::DecrPenLocation ( void   ) 

Definition at line 437 of file cc708window.cpp.

Referenced by AddChar().

void CC708Window::SetPenLocation ( uint  row,
uint  column 
)

Definition at line 479 of file cc708window.cpp.

Referenced by CC708Reader::SetPenLocation().

void CC708Window::LimitPenLocation ( void   ) 

Definition at line 485 of file cc708window.cpp.

Referenced by DecrPenLocation(), IncrPenLocation(), and SetPenLocation().

bool CC708Window::IsPenValid ( void   )  const [inline]

Definition at line 219 of file cc708window.h.

Referenced by AddChar().

CC708Character & CC708Window::GetCCChar ( void   )  const

Definition at line 232 of file cc708window.cpp.

Referenced by AddChar().

vector< CC708String * > CC708Window::GetStrings ( void   )  const
QColor CC708Window::GetFillColor ( void   )  const [inline]

Definition at line 227 of file cc708window.h.

Referenced by SubtitleScreen::DisplayCC708Subtitles().

uint CC708Window::GetFillAlpha ( void   )  const [inline]

Definition at line 233 of file cc708window.h.

Referenced by SubtitleScreen::DisplayCC708Subtitles().

void CC708Window::Scroll ( int  row,
int  col 
) [private]

Definition at line 362 of file cc708window.cpp.

Referenced by AddChar(), DecrPenLocation(), IncrPenLocation(), and SetPenLocation().


Member Data Documentation

Definition at line 244 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 251 of file cc708window.h.

Referenced by DefineWindow(), and FormattedTextSubtitle::InitFromCC708().

Definition at line 252 of file cc708window.h.

Referenced by DefineWindow(), and FormattedTextSubtitle::InitFromCC708().

Definition at line 253 of file cc708window.h.

Referenced by DefineWindow(), and FormattedTextSubtitle::InitFromCC708().

Definition at line 254 of file cc708window.h.

Referenced by DefineWindow(), and FormattedTextSubtitle::InitFromCC708().

Definition at line 255 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 256 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 257 of file cc708window.h.

Referenced by DecrPenLocation(), DefineWindow(), and IncrPenLocation().

Definition at line 258 of file cc708window.h.

Referenced by DecrPenLocation(), DefineWindow(), and IncrPenLocation().

Definition at line 259 of file cc708window.h.

Definition at line 260 of file cc708window.h.

Definition at line 262 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 263 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 264 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 265 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 266 of file cc708window.h.

Referenced by Scroll(), CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 268 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 269 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 270 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 271 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

Definition at line 272 of file cc708window.h.

Referenced by CC708Reader::SetWindowAttributes(), and SetWindowStyle().

set to false when DeleteWindow is called on the window.

Definition at line 280 of file cc708window.h.

Referenced by AddChar(), Clear(), DefineWindow(), SubtitleScreen::DisplayCC708Subtitles(), CC708Reader::DisplayWindows(), GetCCChar(), and ~CC708Window().

QMutex CC708Window::lock [mutable]

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