#include <title.h>
Inherits PluginVClient.

Definition at line 306 of file title.h.
| TitleMain::TitleMain | ( | PluginServer * | server | ) |
Definition at line 1016 of file title.C.
References build_fonts(), char_positions, freetype_face, freetype_library, glyph_engine, need_reconfigure, PLUGIN_CONSTRUCTOR_MACRO, rows_bottom, text_mask, text_mask_stroke, title_engine, and translate.

| TitleMain::~TitleMain | ( | ) |
Definition at line 1035 of file title.C.
References char_positions, clear_glyphs(), freetype_library, glyph_engine, PLUGIN_DESTRUCTOR_MACRO, rows_bottom, text_mask, text_mask_stroke, title_engine, and translate.

Reimplemented from PluginVClient.
Definition at line 1949 of file title.C.
References ascent, char_positions, clear_glyphs(), config, DEFAULT_ENCODING, DEFAULT_TIMECODEFORMAT, draw_glyphs(), draw_mask(), TitleConfig::encoding, FontEntry::fixed_title, freetype_face, freetype_library, PluginClient::get_direction(), get_font(), PluginClient::get_source_position(), get_total_extents(), glyph_engine, input, load_configuration(), load_freetype_face(), need_reconfigure, output, overlay_mask(), FontEntry::path, PluginVClient::project_frame_rate, rows_bottom, TitleConfig::size, TitleConfig::stroke_width, TitleConfig::text, text_mask, text_mask_stroke, TIME_HMSF, TitleConfig::timecode, TitleConfig::timecodeformat, Units::timeformat_totype(), Units::totext(), visible_row1, and visible_row2.

| int TitleMain::is_realtime | ( | ) | [virtual] |
| int TitleMain::is_synthesis | ( | ) | [virtual] |
| char * TitleMain::plugin_title | ( | ) | [virtual] |
| int TitleMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2068 of file title.C.
References load_configuration(), and thread.

| void TitleMain::raise_window | ( | ) | [virtual] |
| void TitleMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2091 of file title.C.
References TitleConfig::color, config, load_configuration(), and thread.

| int TitleMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2076 of file title.C.
References PluginClient::gui_string, and thread.
| int TitleMain::load_configuration | ( | ) |
Definition at line 2204 of file title.C.
References config, TitleConfig::copy_from(), TitleConfig::equivalent(), PluginClient::get_next_keyframe(), PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), PluginClient::get_source_start(), PluginClient::get_total_len(), TitleConfig::interpolate(), TitleConfig::next_keyframe_position, Auto::position, TitleConfig::prev_keyframe_position, and read_data().
Referenced by process_realtime(), show_gui(), and update_gui().

| void TitleMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2262 of file title.C.
References FileXML::append_newline(), FileXML::append_tag(), TitleConfig::color, TitleConfig::color_stroke, config, KeyFrame::data, TitleConfig::dropshadow, FileXML::encode_text(), TitleConfig::encoding, TitleConfig::fade_in, TitleConfig::fade_out, TitleConfig::font, TitleConfig::hjustification, TitleConfig::loop, TitleConfig::motion_strategy, output, TitleConfig::pixels_per_second, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), TitleConfig::size, TitleConfig::stroke_width, TitleConfig::style, FileXML::tag, FileXML::terminate_string(), TitleConfig::text, TitleConfig::timecode, TitleConfig::timecodeformat, TitleConfig::vjustification, TitleConfig::x, and TitleConfig::y.

| void TitleMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2301 of file title.C.
References TitleConfig::color, TitleConfig::color_stroke, config, KeyFrame::data, TitleConfig::dropshadow, TitleConfig::encoding, TitleConfig::fade_in, TitleConfig::fade_out, TitleConfig::font, XMLTag::get_property(), TitleConfig::hjustification, input, TitleConfig::loop, TitleConfig::motion_strategy, TitleConfig::pixels_per_second, Auto::position, TitleConfig::prev_keyframe_position, FileXML::read_tag(), FileXML::read_text(), FileXML::set_shared_string(), TitleConfig::size, TitleConfig::stroke_width, TitleConfig::style, FileXML::tag, TitleConfig::text, TitleConfig::timecode, TitleConfig::timecodeformat, XMLTag::title_is(), TitleConfig::vjustification, TitleConfig::x, and TitleConfig::y.
Referenced by load_configuration().

| int TitleMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2107 of file title.C.
References BCASTDIR, TitleConfig::color, TitleConfig::color_stroke, FileSystem::complete_path(), config, defaults, TitleConfig::dropshadow, TitleConfig::encoding, TitleConfig::fade_in, TitleConfig::fade_out, fclose(), TitleConfig::font, fopen(), fread(), fseek(), ftell(), BC_Hash::get(), TitleConfig::hjustification, BC_Hash::load(), TitleConfig::loop, TitleConfig::motion_strategy, TitleConfig::pixels_per_second, TitleConfig::size, TitleConfig::stroke_width, TitleConfig::style, TitleConfig::text, TitleConfig::timecode, TitleConfig::timecodeformat, TitleConfig::vjustification, window_h, window_w, TitleConfig::x, and TitleConfig::y.

| int TitleMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 2159 of file title.C.
References BCASTDIR, TitleConfig::color, TitleConfig::color_stroke, FileSystem::complete_path(), config, defaults, TitleConfig::dropshadow, TitleConfig::encoding, TitleConfig::fade_in, TitleConfig::fade_out, fclose(), TitleConfig::font, fopen(), fwrite(), TitleConfig::hjustification, TitleConfig::loop, TitleConfig::motion_strategy, TitleConfig::pixels_per_second, BC_Hash::save(), TitleConfig::size, TitleConfig::stroke_width, TitleConfig::style, TitleConfig::text, TitleConfig::timecode, TitleConfig::timecodeformat, BC_Hash::update(), TitleConfig::vjustification, window_h, window_w, TitleConfig::x, and TitleConfig::y.

| VFrame * TitleMain::new_picon | ( | ) | [virtual] |
| void TitleMain::build_fonts | ( | ) |
Definition at line 1059 of file title.C.
References FontEntry::adstyle, ArrayList< TYPE >::append(), FontEntry::avg_width, BCTEXTLEN, FontEntry::encoding, FontEntry::family, fgets(), FontEntry::fixed_style, FontEntry::fixed_title, FONT_BOLD, FONT_ITALIC, FONT_SEARCHPATH, fonts, FontEntry::foundary, freetype_face, freetype_library, PluginClient::get_path(), FontEntry::path, FontEntry::pixelsize, FontEntry::pointsize, FontEntry::registry, FontEntry::slant, FontEntry::spacing, strrchr, FontEntry::swidth, FontEntry::weight, FontEntry::xres, and FontEntry::yres.
Referenced by TitleMain().

| void TitleMain::draw_glyphs | ( | ) |
Definition at line 1475 of file title.C.
References _, ArrayList< TYPE >::append(), bswap_32(), TitleGlyph::c, c, TitleGlyph::char_code, config, TitleConfig::encoding, fprintf, glyph_engine, glyphs, LoadServer::process_packages(), LoadServer::set_package_count(), PluginClient::smp, TitleConfig::text, text_len, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by process_realtime().

| int TitleMain::draw_mask | ( | ) |
Definition at line 1645 of file title.C.
References BC_A8, BOTTOM_TO_TOP, char_positions, VFrame::clear_frame(), config, get_char_height(), VFrame::get_h(), PluginClient::get_source_position(), VFrame::get_w(), TitleConfig::hjustification, input, JUSTIFY_BOTTOM, JUSTIFY_LEFT, JUSTIFY_MID, JUSTIFY_RIGHT, JUSTIFY_TOP, LEFT_TO_RIGHT, TitleConfig::loop, mask_y1, mask_y2, TitleConfig::motion_strategy, TitleConfig::pixels_per_second, TitleConfig::prev_keyframe_position, LoadServer::process_packages(), PluginVClient::project_frame_rate, RIGHT_TO_LEFT, rows_bottom, LoadServer::set_package_count(), PluginClient::smp, text_h, text_len, text_mask, text_mask_stroke, text_rows, text_w, text_x1, text_y1, text_y2, title_engine, TOP_TO_BOTTOM, visible_char1, visible_char2, visible_row1, visible_row2, TitleConfig::vjustification, TitleConfig::x, title_char_position_t::y, and TitleConfig::y.
Referenced by process_realtime().

| void TitleMain::overlay_mask | ( | ) |
Definition at line 1841 of file title.C.
References alpha, TitleConfig::color, TitleConfig::color_stroke, config, TitleConfig::dropshadow, EQUIV, TitleConfig::fade_in, TitleConfig::fade_out, FONT_OUTLINE, PluginClient::get_source_position(), mask_y1, mask_y2, TitleConfig::next_keyframe_position, TitleConfig::prev_keyframe_position, LoadServer::process_packages(), PluginVClient::project_frame_rate, PluginClient::smp, TitleConfig::stroke_width, TitleConfig::style, text_mask, text_mask_stroke, text_w, text_x1, text_x2, translate, and ZERO.
Referenced by process_realtime().

| FontEntry * TitleMain::get_font_entry | ( | char * | title, | |
| int | style, | |||
| int | size | |||
| ) |
Definition at line 1377 of file title.C.
References FontEntry::fixed_style, FontEntry::fixed_title, fonts, FontEntry::pointsize, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by get_font().
| FontEntry * TitleMain::get_font | ( | ) |
Definition at line 1410 of file title.C.
References config, TitleConfig::font, get_font_entry(), TitleConfig::size, and TitleConfig::style.
Referenced by GlyphUnit::process_package(), and process_realtime().

| int TitleMain::get_char_advance | ( | int | current, | |
| int | next | |||
| ) |
Definition at line 1430 of file title.C.
References TitleGlyph::advance_w, TitleGlyph::c, freetype_face, TitleGlyph::freetype_index, glyphs, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by get_total_extents().
| int TitleMain::get_char_height | ( | ) |
Definition at line 1422 of file title.C.
References config, FONT_OUTLINE, TitleConfig::size, TitleConfig::stroke_width, and TitleConfig::style.
Referenced by TitleUnit::draw_glyph(), draw_mask(), get_total_extents(), and TitleEngine::init_packages().
| void TitleMain::get_total_extents | ( | ) |
Definition at line 1545 of file title.C.
References ascent, TitleGlyph::c, char_positions, config, TitleConfig::dropshadow, get_char_advance(), get_char_height(), glyphs, TitleGlyph::height, TitleConfig::hjustification, JUSTIFY_LEFT, JUSTIFY_MID, JUSTIFY_RIGHT, rows_bottom, TitleConfig::text, text_h, text_len, text_rows, text_w, TitleGlyph::top, ArrayList< TYPE >::total, ArrayList< TYPE >::values, title_char_position_t::w, title_char_position_t::x, and title_char_position_t::y.
Referenced by process_realtime().

| void TitleMain::clear_glyphs | ( | ) |
Definition at line 1916 of file title.C.
References glyphs, and ArrayList< TYPE >::remove_all_objects().
Referenced by process_realtime(), and ~TitleMain().

| int TitleMain::load_freetype_face | ( | FT_Library & | freetype_library, | |
| FT_Face & | freetype_face, | |||
| char * | path | |||
| ) |
Definition at line 1348 of file title.C.
Referenced by GlyphUnit::process_package(), and process_realtime().
| char * TitleMain::motion_to_text | ( | int | motion | ) | [static] |
Definition at line 1922 of file title.C.
References _, BOTTOM_TO_TOP, LEFT_TO_RIGHT, NO_MOTION, RIGHT_TO_LEFT, and TOP_TO_BOTTOM.
Referenced by TitleWindow::create_objects(), text_to_motion(), and TitleWindow::update().
| int TitleMain::text_to_motion | ( | char * | text | ) | [static] |
Definition at line 1934 of file title.C.
References motion_to_text(), and TOTAL_PATHS.
Referenced by TitleMotion::handle_event().

| TitleThread* TitleMain::thread |
Definition at line 353 of file title.h.
Referenced by raise_window(), set_string(), show_gui(), and update_gui().
Definition at line 355 of file title.h.
Referenced by TitleWindow::create_objects(), draw_glyphs(), draw_mask(), get_char_height(), get_font(), get_total_extents(), TitleColorStrokeThread::handle_event(), TitleBottom::handle_event(), TitleMid::handle_event(), TitleTop::handle_event(), TitleRight::handle_event(), TitleCenter::handle_event(), TitleLeft::handle_event(), TitleSpeed::handle_event(), TitleStrokeW::handle_event(), TitleY::handle_event(), TitleX::handle_event(), TitleDropShadow::handle_event(), TitleText::handle_event(), TitleFont::handle_event(), TitleTimecodeFormat::handle_event(), TitleTimecode::handle_event(), TitleLoop::handle_event(), TitleMotion::handle_event(), TitleColorStrokeButton::handle_event(), TitleColorButton::handle_event(), TitleEncoding::handle_event(), TitleSize::handle_event(), TitleStroke::handle_event(), TitleItalic::handle_event(), TitleBold::handle_event(), TitleColorThread::handle_new_color(), TitleEngine::init_packages(), load_configuration(), load_defaults(), TitleWindow::next_font(), overlay_mask(), TitleWindow::previous_font(), TitleTranslateUnit::process_package(), TitleUnit::process_package(), GlyphUnit::process_package(), process_realtime(), read_data(), save_data(), save_defaults(), TitleWindow::update(), TitleWindow::update_color(), update_gui(), and TitleWindow::update_justification().
Definition at line 357 of file title.h.
Referenced by load_defaults(), TitleWindow::resize_event(), and save_defaults().
Definition at line 357 of file title.h.
Referenced by load_defaults(), TitleWindow::resize_event(), and save_defaults().
ArrayList< FontEntry * > * TitleMain::fonts = 0 [static] |
Definition at line 359 of file title.h.
Referenced by build_fonts(), TitleWindow::create_objects(), and get_font_entry().
Definition at line 362 of file title.h.
Referenced by clear_glyphs(), draw_glyphs(), get_char_advance(), get_total_extents(), GlyphEngine::init_packages(), and TitleUnit::process_package().
Definition at line 366 of file title.h.
Referenced by draw_mask(), TitleTranslate::init_packages(), overlay_mask(), TitleUnit::process_package(), process_realtime(), TitleMain(), and ~TitleMain().
Definition at line 367 of file title.h.
Referenced by draw_mask(), overlay_mask(), TitleUnit::process_package(), process_realtime(), TitleMain(), and ~TitleMain().
Definition at line 368 of file title.h.
Referenced by draw_glyphs(), process_realtime(), TitleMain(), and ~TitleMain().
Definition at line 370 of file title.h.
Referenced by overlay_mask(), TitleMain(), and ~TitleMain().
| FT_Library TitleMain::freetype_library |
Definition at line 373 of file title.h.
Referenced by build_fonts(), process_realtime(), TitleMain(), and ~TitleMain().
| FT_Face TitleMain::freetype_face |
Definition at line 374 of file title.h.
Referenced by build_fonts(), get_char_advance(), process_realtime(), and TitleMain().
Definition at line 379 of file title.h.
Referenced by draw_mask(), TitleEngine::init_packages(), and process_realtime().
Definition at line 381 of file title.h.
Referenced by draw_mask(), and TitleEngine::init_packages().
| float TitleMain::text_y1 |
| float TitleMain::text_y2 |
| float TitleMain::text_x1 |
Definition at line 386 of file title.h.
Referenced by draw_mask(), TitleTranslate::init_packages(), and overlay_mask().
| float TitleMain::text_x2 |
| float TitleMain::mask_y1 |
Definition at line 389 of file title.h.
Referenced by draw_mask(), TitleTranslate::init_packages(), and overlay_mask().
| float TitleMain::mask_y2 |
| int TitleMain::alpha |
Definition at line 407 of file title.h.
Referenced by draw_glyphs(), draw_mask(), and get_total_extents().
Definition at line 409 of file title.h.
Referenced by draw_mask(), get_total_extents(), TitleTranslate::init_packages(), and overlay_mask().
Definition at line 412 of file title.h.
Referenced by draw_mask(), get_total_extents(), TitleEngine::init_packages(), process_realtime(), TitleMain(), and ~TitleMain().
Definition at line 414 of file title.h.
Referenced by draw_mask(), get_total_extents(), process_realtime(), TitleMain(), and ~TitleMain().
Reimplemented from PluginVClient.
Definition at line 415 of file title.h.
Referenced by draw_mask(), process_realtime(), and read_data().
Reimplemented from PluginVClient.
Definition at line 415 of file title.h.
Referenced by TitleTranslate::init_packages(), TitleTranslateUnit::process_package(), process_realtime(), and save_data().
1.5.5