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

#include <cc708window.h>

Collaboration diagram for CC708Window:
Collaboration graph
[legend]

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 Resize (uint new_rows, uint new_columns)
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 247 of file cc708window.h.

Constructor & Destructor Documentation

CC708Window::CC708Window ( )

Definition at line 109 of file cc708window.cpp.

CC708Window::~CC708Window ( )

Definition at line 235 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::Resize ( uint  new_rows,
uint  new_columns 
)

Definition at line 180 of file cc708window.cpp.

Referenced by DefineWindow().

void CC708Window::Clear ( void  )

Definition at line 250 of file cc708window.cpp.

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

void CC708Window::SetWindowStyle ( uint  style)

Definition at line 318 of file cc708window.cpp.

Referenced by DefineWindow().

void CC708Window::AddChar ( QChar  ch)

Definition at line 349 of file cc708window.cpp.

Referenced by CC708Reader::TextWrite().

void CC708Window::IncrPenLocation ( void  )

Definition at line 430 of file cc708window.cpp.

Referenced by AddChar().

void CC708Window::DecrPenLocation ( void  )

Definition at line 472 of file cc708window.cpp.

Referenced by AddChar().

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

Definition at line 514 of file cc708window.cpp.

Referenced by CC708Reader::SetPenLocation().

void CC708Window::LimitPenLocation ( void  )

Definition at line 520 of file cc708window.cpp.

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

bool CC708Window::IsPenValid ( void  ) const
inline

Definition at line 220 of file cc708window.h.

Referenced by AddChar().

CC708Character & CC708Window::GetCCChar ( void  ) const

Definition at line 265 of file cc708window.cpp.

Referenced by AddChar().

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

Definition at line 228 of file cc708window.h.

Referenced by SubtitleScreen::DisplayCC708Subtitles().

uint CC708Window::GetFillAlpha ( void  ) const
inline

Definition at line 234 of file cc708window.h.

Referenced by SubtitleScreen::DisplayCC708Subtitles().

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

Definition at line 397 of file cc708window.cpp.

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

Member Data Documentation

uint CC708Window::priority

Definition at line 245 of file cc708window.h.

Referenced by DefineWindow().

uint CC708Window::visible
uint CC708Window::anchor_point

Definition at line 252 of file cc708window.h.

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

uint CC708Window::relative_pos

Definition at line 253 of file cc708window.h.

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

uint CC708Window::anchor_vertical

Definition at line 254 of file cc708window.h.

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

uint CC708Window::anchor_horizontal

Definition at line 255 of file cc708window.h.

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

uint CC708Window::row_count

Definition at line 256 of file cc708window.h.

Referenced by DefineWindow(), GetStrings(), and Resize().

uint CC708Window::column_count

Definition at line 257 of file cc708window.h.

Referenced by DefineWindow(), GetStrings(), and Resize().

uint CC708Window::row_lock

Definition at line 258 of file cc708window.h.

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

uint CC708Window::column_lock

Definition at line 259 of file cc708window.h.

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

uint CC708Window::pen_style

Definition at line 260 of file cc708window.h.

uint CC708Window::window_style

Definition at line 261 of file cc708window.h.

uint CC708Window::fill_color

Definition at line 263 of file cc708window.h.

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

uint CC708Window::fill_opacity

Definition at line 264 of file cc708window.h.

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

uint CC708Window::border_color

Definition at line 265 of file cc708window.h.

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

uint CC708Window::border_type

Definition at line 266 of file cc708window.h.

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

uint CC708Window::scroll_dir

Definition at line 267 of file cc708window.h.

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

uint CC708Window::print_dir
uint CC708Window::effect_dir

Definition at line 269 of file cc708window.h.

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

uint CC708Window::display_effect

Definition at line 270 of file cc708window.h.

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

uint CC708Window::effect_speed

Definition at line 271 of file cc708window.h.

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

uint CC708Window::justify

Definition at line 272 of file cc708window.h.

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

uint CC708Window::word_wrap

Definition at line 273 of file cc708window.h.

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

uint CC708Window::true_row_count

Definition at line 277 of file cc708window.h.

Referenced by AddChar(), Clear(), GetCCChar(), LimitPenLocation(), Resize(), Scroll(), and ~CC708Window().

uint CC708Window::true_column_count
CC708Character* CC708Window::text
CC708Pen CC708Window::pen
bool CC708Window::exists

set to false when DeleteWindow is called on the window.

Definition at line 284 of file cc708window.h.

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

bool CC708Window::changed
QMutex CC708Window::lock
mutable

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