|
MythTV
0.27pre
|
#include <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 | 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 |
| CC708Character & | GetCCChar (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 |
| CC708Character * | text |
| 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) |
Definition at line 198 of file cc708window.h.
| anonymous enum |
| kAnchorUpperLeft | |
| kAnchorUpperCenter | |
| kAnchorUpperRight | |
| kAnchorCenterLeft | |
| kAnchorCenter | |
| kAnchorCenterRight | |
| kAnchorLowerLeft | |
| kAnchorLowerCenter | |
| kAnchorLowerRight |
Definition at line 247 of file cc708window.h.
| CC708Window::CC708Window | ( | ) |
Definition at line 109 of file cc708window.cpp.
| CC708Window::~CC708Window | ( | ) |
Definition at line 235 of file cc708window.cpp.
| 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().
Definition at line 180 of file cc708window.cpp.
Referenced by DefineWindow().
Definition at line 250 of file cc708window.cpp.
Referenced by CC708Reader::ClearWindows(), and CC708Reader::DeleteWindows().
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().
Definition at line 430 of file cc708window.cpp.
Referenced by AddChar().
Definition at line 472 of file cc708window.cpp.
Referenced by AddChar().
Definition at line 514 of file cc708window.cpp.
Referenced by CC708Reader::SetPenLocation().
Definition at line 520 of file cc708window.cpp.
Referenced by DecrPenLocation(), DefineWindow(), IncrPenLocation(), and SetPenLocation().
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 |
Definition at line 274 of file cc708window.cpp.
Referenced by SubtitleScreen::DisplayCC708Subtitles(), and MythCCExtractorPlayer::Ingest708Captions().
|
inline |
Definition at line 228 of file cc708window.h.
Referenced by SubtitleScreen::DisplayCC708Subtitles().
Definition at line 234 of file cc708window.h.
Referenced by SubtitleScreen::DisplayCC708Subtitles().
Definition at line 397 of file cc708window.cpp.
Referenced by AddChar(), DecrPenLocation(), IncrPenLocation(), and SetPenLocation().
| uint CC708Window::priority |
Definition at line 245 of file cc708window.h.
Referenced by DefineWindow().
| uint CC708Window::visible |
Definition at line 246 of file cc708window.h.
Referenced by DefineWindow(), SubtitleScreen::DisplayCC708Subtitles(), CC708Reader::DisplayWindows(), CC708Reader::HideWindows(), MythCCExtractorPlayer::Ingest708Captions(), and CC708Reader::ToggleWindows().
| 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 |
Definition at line 268 of file cc708window.h.
Referenced by DecrPenLocation(), IncrPenLocation(), CC708Reader::SetWindowAttributes(), and SetWindowStyle().
| 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 |
Definition at line 278 of file cc708window.h.
Referenced by AddChar(), Clear(), DecrPenLocation(), GetCCChar(), GetStrings(), IncrPenLocation(), LimitPenLocation(), Resize(), Scroll(), and ~CC708Window().
| CC708Character* CC708Window::text |
Definition at line 280 of file cc708window.h.
Referenced by Clear(), CC708Reader::DisplayWindows(), GetCCChar(), GetStrings(), Resize(), Scroll(), and ~CC708Window().
| CC708Pen CC708Window::pen |
Definition at line 281 of file cc708window.h.
Referenced by AddChar(), Clear(), DecrPenLocation(), DefineWindow(), GetCCChar(), IncrPenLocation(), MythCCExtractorPlayer::Ingest708Captions(), LimitPenLocation(), Resize(), Scroll(), CC708Reader::SetPenAttributes(), and CC708Reader::SetPenColor().
| 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 |
Definition at line 285 of file cc708window.h.
Referenced by AddChar(), Clear(), DefineWindow(), SubtitleScreen::DisplayCC708Subtitles(), CC708Reader::DisplayWindows(), CC708Reader::HideWindows(), MythCCExtractorPlayer::Ingest708Captions(), Resize(), Scroll(), SetWindowStyle(), and CC708Reader::ToggleWindows().
|
mutable |
Definition at line 287 of file cc708window.h.
Referenced by AddChar(), Clear(), DefineWindow(), SubtitleScreen::DisplayCC708Subtitles(), CC708Reader::DisplayWindows(), GetStrings(), Scroll(), and ~CC708Window().
1.8.1.2