CC708Window Class Reference

#include <cc708window.h>

List of all members.


Detailed Description

Definition at line 102 of file cc708window.h.


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 SetPenLocation (uint, uint)
void LimitPenLocation (void)
bool IsPenValid (void) const
CC708CharacterGetCCChar (void) const
vector< CC708String * > GetStrings (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.
QMutex lock

Private Member Functions

void Scroll (int row, int col)

Member Enumeration Documentation

anonymous enum

Enumerator:
kAnchorUpperLeft 
kAnchorUpperCenter 
kAnchorUpperRight 
kAnchorCenterLeft 
kAnchorCenter 
kAnchorCenterRight 
kAnchorLowerLeft 
kAnchorLowerCenter 
kAnchorLowerRight 

Definition at line 143 of file cc708window.h.


Constructor & Destructor Documentation

CC708Window::CC708Window (  ) 

Definition at line 102 of file cc708window.cpp.

CC708Window::~CC708Window (  ) 

Definition at line 179 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 123 of file cc708window.cpp.

Referenced by NuppelVideoPlayer::DefineWindow().

void CC708Window::Clear ( void   ) 

Definition at line 194 of file cc708window.cpp.

Referenced by NuppelVideoPlayer::ClearWindows().

void CC708Window::SetWindowStyle ( uint  style  ) 

Definition at line 259 of file cc708window.cpp.

Referenced by DefineWindow().

void CC708Window::AddChar ( QChar  ch  ) 

Definition at line 284 of file cc708window.cpp.

Referenced by NuppelVideoPlayer::TextWrite().

void CC708Window::IncrPenLocation ( void   ) 

Definition at line 350 of file cc708window.cpp.

Referenced by AddChar().

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

Definition at line 392 of file cc708window.cpp.

Referenced by NuppelVideoPlayer::SetPenLocation().

void CC708Window::LimitPenLocation ( void   ) 

Definition at line 398 of file cc708window.cpp.

Referenced by IncrPenLocation(), and SetPenLocation().

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

Definition at line 122 of file cc708window.h.

Referenced by AddChar().

CC708Character & CC708Window::GetCCChar ( void   )  const

Definition at line 208 of file cc708window.cpp.

Referenced by AddChar().

vector< CC708String * > CC708Window::GetStrings ( void   )  const

Definition at line 218 of file cc708window.cpp.

Referenced by OSDType708CC::Draw().

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

Definition at line 130 of file cc708window.h.

Referenced by OSDType708CC::Draw().

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

Definition at line 318 of file cc708window.cpp.

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


Member Data Documentation

Definition at line 141 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 148 of file cc708window.h.

Referenced by OSDType708CC::CalcBounds(), and DefineWindow().

Definition at line 149 of file cc708window.h.

Referenced by OSDType708CC::CalcBounds(), and DefineWindow().

Definition at line 150 of file cc708window.h.

Referenced by OSDType708CC::CalcBounds(), and DefineWindow().

Definition at line 151 of file cc708window.h.

Referenced by OSDType708CC::CalcBounds(), and DefineWindow().

Definition at line 152 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 153 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 154 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 155 of file cc708window.h.

Referenced by DefineWindow().

Definition at line 156 of file cc708window.h.

Definition at line 157 of file cc708window.h.

Definition at line 159 of file cc708window.h.

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

Definition at line 161 of file cc708window.h.

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

Definition at line 162 of file cc708window.h.

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

Definition at line 163 of file cc708window.h.

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

Definition at line 165 of file cc708window.h.

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

Definition at line 166 of file cc708window.h.

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

Definition at line 167 of file cc708window.h.

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

Definition at line 168 of file cc708window.h.

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

Definition at line 169 of file cc708window.h.

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

set to false when DeleteWindow is called on the window.

Definition at line 177 of file cc708window.h.

Referenced by AddChar(), Clear(), DefineWindow(), NuppelVideoPlayer::DeleteWindows(), OSDType708CC::Draw(), GetCCChar(), and ~CC708Window().

QMutex CC708Window::lock [mutable]


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

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5