TitleMain Class Reference

#include <title.h>

Inherits PluginVClient.

Collaboration diagram for TitleMain:

Collaboration graph
[legend]

Public Member Functions

 TitleMain (PluginServer *server)
 ~TitleMain ()
int process_realtime (VFrame *input_ptr, VFrame *output_ptr)
int is_realtime ()
int is_synthesis ()
char * plugin_title ()
int show_gui ()
void raise_window ()
void update_gui ()
int set_string ()
int load_configuration ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
int load_defaults ()
int save_defaults ()
VFramenew_picon ()
void build_fonts ()
void draw_glyphs ()
int draw_mask ()
void overlay_mask ()
FontEntryget_font_entry (char *title, int style, int size)
FontEntryget_font ()
int get_char_advance (int current, int next)
int get_char_height ()
void get_total_extents ()
void clear_glyphs ()
int load_freetype_face (FT_Library &freetype_library, FT_Face &freetype_face, char *path)

Static Public Member Functions

static char * motion_to_text (int motion)
static int text_to_motion (char *text)

Data Fields

TitleThread * thread
TitleConfig config
int window_w
int window_h
BC_Hashdefaults
ArrayList< TitleGlyph * > glyphs
Mutex glyph_lock
VFrametext_mask
VFrametext_mask_stroke
GlyphEngineglyph_engine
TitleEnginetitle_engine
TitleTranslatetranslate
FT_Library freetype_library
FT_Face freetype_face
int visible_row1
int visible_row2
int visible_char1
int visible_char2
float text_y1
float text_y2
float text_x1
float text_x2
float mask_y1
float mask_y2
int alpha
int ascent
int text_len
int text_rows
int text_w
int text_h
title_char_position_tchar_positions
int * rows_bottom
VFrameinput
VFrameoutput
int need_reconfigure

Static Public Attributes

static ArrayList< FontEntry * > * fonts = 0

Detailed Description

Definition at line 306 of file title.h.


Constructor & Destructor Documentation

TitleMain::TitleMain ( PluginServer server  ) 

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.

Here is the call graph for this function:


Member Function Documentation

int TitleMain::process_realtime ( VFrame input_ptr,
VFrame output_ptr 
) [virtual]

int TitleMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 1050 of file title.C.

int TitleMain::is_synthesis (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 1051 of file title.C.

char * TitleMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 1049 of file title.C.

References N_.

int TitleMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 2068 of file title.C.

References load_configuration(), and thread.

Here is the call graph for this function:

void TitleMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 2082 of file title.C.

References thread.

void TitleMain::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 2091 of file title.C.

References TitleConfig::color, config, load_configuration(), and thread.

Here is the call graph for this function:

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 (  ) 

void TitleMain::save_data ( KeyFrame keyframe  )  [virtual]

void TitleMain::read_data ( KeyFrame keyframe  )  [virtual]

int TitleMain::load_defaults (  )  [virtual]

int TitleMain::save_defaults (  )  [virtual]

VFrame * TitleMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 1053 of file title.C.

References picon_png.

void TitleMain::build_fonts (  ) 

void TitleMain::draw_glyphs (  ) 

int TitleMain::draw_mask (  ) 

void TitleMain::overlay_mask (  ) 

FontEntry * TitleMain::get_font_entry ( char *  title,
int  style,
int  size 
)

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().

Here is the call graph for this function:

int TitleMain::get_char_advance ( int  current,
int  next 
)

int TitleMain::get_char_height (  ) 

void TitleMain::get_total_extents (  ) 

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().

Here is the call graph for this function:

int TitleMain::load_freetype_face ( FT_Library &  freetype_library,
FT_Face &  freetype_face,
char *  path 
)

Definition at line 1348 of file title.C.

References _, and fprintf.

Referenced by GlyphUnit::process_package(), and process_realtime().

char * TitleMain::motion_to_text ( int  motion  )  [static]

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().

Here is the call graph for this function:


Field Documentation

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 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 361 of file title.h.

Referenced by load_defaults(), and save_defaults().

Definition at line 363 of file title.h.

Definition at line 368 of file title.h.

Referenced by draw_glyphs(), process_realtime(), TitleMain(), and ~TitleMain().

Definition at line 369 of file title.h.

Referenced by draw_mask(), TitleMain(), and ~TitleMain().

Definition at line 370 of file title.h.

Referenced by overlay_mask(), TitleMain(), and ~TitleMain().

Definition at line 373 of file title.h.

Referenced by build_fonts(), process_realtime(), TitleMain(), and ~TitleMain().

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 380 of file title.h.

Referenced by draw_mask(), and process_realtime().

Definition at line 381 of file title.h.

Referenced by draw_mask(), and TitleEngine::init_packages().

Definition at line 382 of file title.h.

Referenced by draw_mask().

Definition at line 384 of file title.h.

Referenced by draw_mask().

Definition at line 385 of file title.h.

Referenced by draw_mask().

Definition at line 386 of file title.h.

Referenced by draw_mask(), TitleTranslate::init_packages(), and overlay_mask().

Definition at line 387 of file title.h.

Referenced by overlay_mask().

Definition at line 389 of file title.h.

Referenced by draw_mask(), TitleTranslate::init_packages(), and overlay_mask().

Definition at line 390 of file title.h.

Referenced by draw_mask(), and overlay_mask().

Definition at line 393 of file title.h.

Referenced by overlay_mask().

Definition at line 396 of file title.h.

Referenced by get_total_extents(), and process_realtime().

Definition at line 407 of file title.h.

Referenced by draw_glyphs(), draw_mask(), and get_total_extents().

Definition at line 408 of file title.h.

Referenced by 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 410 of file title.h.

Referenced by draw_mask(), and get_total_extents().

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().

Definition at line 417 of file title.h.

Referenced by process_realtime(), and TitleMain().


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

Generated on Mon Apr 28 14:46:37 2008 for Cinelerra by  doxygen 1.5.5