Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FormatTools Class Reference

#include <formattools.h>

Inheritance diagram for FormatTools:

BatchFormat List of all members.

Public Member Functions

 FormatTools (MWindow *mwindow, BC_WindowBase *window, Asset *asset)
virtual ~FormatTools ()
int create_objects (int &init_x, int &init_y, int do_audio, int do_video, int prompt_audio, int prompt_video, int prompt_audio_channels, int prompt_video_compression, int lock_compressor, int recording, int *strategy, int brender)
void reposition_window (int &init_x, int &init_y)
void update (Asset *asset, int *strategy)
void close_format_windows ()
Assetget_asset ()
virtual int handle_event ()
int set_audio_options ()
int set_video_options ()
int get_w ()

Public Attributes

BC_WindowBase * window
Assetasset
FormatAParamsaparams_button
FormatVParamsvparams_button
FormatAThreadaparams_thread
FormatVThreadvparams_thread
BrowseButtonpath_button
FormatPathTextpath_textbox
BC_RecentList * path_recent
PipeStatuspipe_status
BC_Title * format_title
FormatFormatformat_button
BC_TextBox * format_text
BC_ITumbler * channels_tumbler
BC_Title * audio_title
BC_Title * channels_title
FormatChannelschannels_button
FormatAudioaudio_switch
BC_Title * video_title
FormatVideovideo_switch
FormatMultiplemultiple_files
ArrayList< PluginServer * > * plugindb
MWindowmwindow
int lock_compressor
int recording
int use_brender
int do_audio
int do_video
int prompt_audio
int prompt_audio_channels
int prompt_video
int prompt_video_compression
int * strategy
int w

Detailed Description

Definition at line 26 of file formattools.h.


Constructor & Destructor Documentation

FormatTools::FormatTools MWindow mwindow,
BC_WindowBase *  window,
Asset asset
 

Definition at line 17 of file formattools.C.

References aparams_thread, MWindow::plugindb, plugindb, vparams_thread, and w.

FormatTools::~FormatTools  )  [virtual]
 

Definition at line 31 of file formattools.C.

References aparams_thread, and vparams_thread.


Member Function Documentation

void FormatTools::close_format_windows  ) 
 

Definition at line 236 of file formattools.C.

References aparams_thread, File::close_window(), FormatVThread::file, FormatAThread::file, and vparams_thread.

Referenced by FormatFormat::handle_event(), and update().

int FormatTools::create_objects int &  init_x,
int &  init_y,
int  do_audio,
int  do_video,
int  prompt_audio,
int  prompt_video,
int  prompt_audio_channels,
int  prompt_video_compression,
int  lock_compressor,
int  recording,
int *  strategy,
int  brender
 

Definition at line 37 of file formattools.C.

References _, aparams_button, aparams_thread, asset, Asset::audio_data, audio_switch, audio_title, channels_button, channels_title, channels_tumbler, FormatPopup::create_objects(), MWindow::defaults, Asset::format, format_button, format_text, format_title, File::formattostr(), MAXCHANNELS, multiple_files, mwindow, Asset::path, path_button, path_recent, path_textbox, pipe_status, plugindb, MWindow::preferences, PipeStatus::set_status(), use_brender, Preferences::use_renderfarm, Asset::video_data, video_switch, video_title, vparams_button, vparams_thread, w, and window.

Referenced by RenderWindow::create_objects(), RecordWindow::create_objects(), PerformancePrefs::create_objects(), MenuEffectWindow::create_objects(), and BatchRenderGUI::create_objects().

Asset * FormatTools::get_asset  ) 
 

Definition at line 215 of file formattools.C.

References asset.

int FormatTools::get_w  ) 
 

Definition at line 242 of file formattools.C.

References w.

Referenced by BatchRenderGUI::create_objects(), and BatchRenderGUI::resize_event().

int FormatTools::handle_event  )  [virtual]
 

Reimplemented in BatchFormat.

Definition at line 210 of file formattools.C.

Referenced by FormatPathText::handle_event().

void FormatTools::reposition_window int &  init_x,
int &  init_y
 

Definition at line 247 of file formattools.C.

References aparams_button, audio_switch, audio_title, channels_button, channels_title, channels_tumbler, do_audio, do_video, format_button, format_text, format_title, multiple_files, path_button, path_textbox, prompt_audio, prompt_audio_channels, prompt_video, prompt_video_compression, strategy, video_switch, video_title, and vparams_button.

Referenced by MenuEffectWindow::resize_event(), and BatchRenderGUI::resize_event().

int FormatTools::set_audio_options  ) 
 

Definition at line 324 of file formattools.C.

References aparams_thread, FormatAThread::file, and File::raise_window().

Referenced by FormatAParams::handle_event().

int FormatTools::set_video_options  ) 
 

Definition at line 338 of file formattools.C.

References FormatVThread::file, File::raise_window(), and vparams_thread.

Referenced by FormatVParams::handle_event().

void FormatTools::update Asset asset,
int *  strategy
 

Definition at line 220 of file formattools.C.

References Asset::audio_data, audio_switch, close_format_windows(), do_audio, do_video, Asset::format, format_text, File::formattostr(), multiple_files, Asset::path, path_textbox, plugindb, FormatMultiple::update(), Asset::video_data, and video_switch.

Referenced by BatchRenderGUI::change_job().


Member Data Documentation

FormatAParams* FormatTools::aparams_button
 

Definition at line 62 of file formattools.h.

Referenced by create_objects(), and reposition_window().

FormatAThread* FormatTools::aparams_thread
 

Definition at line 64 of file formattools.h.

Referenced by close_format_windows(), create_objects(), FormatTools(), set_audio_options(), and ~FormatTools().

Asset* FormatTools::asset
 

Definition at line 60 of file formattools.h.

Referenced by create_objects(), get_asset(), File::get_options(), FormatChannels::handle_event(), FormatFormat::handle_event(), FormatVideo::handle_event(), FormatAudio::handle_event(), and FormatPathText::handle_event().

FormatAudio* FormatTools::audio_switch
 

Definition at line 78 of file formattools.h.

Referenced by create_objects(), reposition_window(), and update().

BC_Title* FormatTools::audio_title
 

Definition at line 75 of file formattools.h.

Referenced by create_objects(), and reposition_window().

FormatChannels* FormatTools::channels_button
 

Definition at line 77 of file formattools.h.

Referenced by create_objects(), and reposition_window().

BC_Title* FormatTools::channels_title
 

Definition at line 76 of file formattools.h.

Referenced by create_objects(), and reposition_window().

BC_ITumbler* FormatTools::channels_tumbler
 

Definition at line 73 of file formattools.h.

Referenced by create_objects(), and reposition_window().

int FormatTools::do_audio
 

Definition at line 90 of file formattools.h.

Referenced by reposition_window(), and update().

int FormatTools::do_video
 

Definition at line 91 of file formattools.h.

Referenced by reposition_window(), and update().

FormatFormat* FormatTools::format_button
 

Definition at line 71 of file formattools.h.

Referenced by create_objects(), and reposition_window().

BC_TextBox* FormatTools::format_text
 

Definition at line 72 of file formattools.h.

Referenced by create_objects(), FormatFormat::handle_event(), reposition_window(), and update().

BC_Title* FormatTools::format_title
 

Definition at line 70 of file formattools.h.

Referenced by create_objects(), and reposition_window().

int FormatTools::lock_compressor
 

Definition at line 87 of file formattools.h.

FormatMultiple* FormatTools::multiple_files
 

Definition at line 83 of file formattools.h.

Referenced by create_objects(), reposition_window(), and update().

MWindow* FormatTools::mwindow
 

Reimplemented in BatchFormat.

Definition at line 86 of file formattools.h.

Referenced by create_objects(), FormatFormat::handle_event(), and YUVConfigVideo::YUVConfigVideo().

BrowseButton* FormatTools::path_button
 

Definition at line 66 of file formattools.h.

Referenced by create_objects(), and reposition_window().

BC_RecentList* FormatTools::path_recent
 

Definition at line 68 of file formattools.h.

Referenced by create_objects(), FormatFormat::handle_event(), and Render::run().

FormatPathText* FormatTools::path_textbox
 

Definition at line 67 of file formattools.h.

Referenced by create_objects(), FileYUV::get_parameters(), FormatFormat::handle_event(), reposition_window(), and update().

PipeStatus* FormatTools::pipe_status
 

Definition at line 69 of file formattools.h.

Referenced by create_objects(), FileYUV::get_parameters(), and FormatFormat::handle_event().

ArrayList<PluginServer*>* FormatTools::plugindb
 

Definition at line 85 of file formattools.h.

Referenced by create_objects(), FormatTools(), File::get_options(), FormatFormat::handle_event(), and update().

int FormatTools::prompt_audio
 

Definition at line 92 of file formattools.h.

Referenced by reposition_window().

int FormatTools::prompt_audio_channels
 

Definition at line 93 of file formattools.h.

Referenced by reposition_window().

int FormatTools::prompt_video
 

Definition at line 94 of file formattools.h.

Referenced by reposition_window().

int FormatTools::prompt_video_compression
 

Definition at line 95 of file formattools.h.

Referenced by reposition_window().

int FormatTools::recording
 

Definition at line 88 of file formattools.h.

int* FormatTools::strategy
 

Definition at line 96 of file formattools.h.

Referenced by reposition_window().

int FormatTools::use_brender
 

Definition at line 89 of file formattools.h.

Referenced by create_objects().

FormatVideo* FormatTools::video_switch
 

Definition at line 81 of file formattools.h.

Referenced by create_objects(), reposition_window(), and update().

BC_Title* FormatTools::video_title
 

Definition at line 80 of file formattools.h.

Referenced by create_objects(), and reposition_window().

FormatVParams* FormatTools::vparams_button
 

Definition at line 63 of file formattools.h.

Referenced by create_objects(), and reposition_window().

FormatVThread* FormatTools::vparams_thread
 

Definition at line 65 of file formattools.h.

Referenced by close_format_windows(), create_objects(), FormatTools(), set_video_options(), and ~FormatTools().

int FormatTools::w
 

Definition at line 97 of file formattools.h.

Referenced by create_objects(), FormatTools(), and get_w().

BC_WindowBase* FormatTools::window
 

Definition at line 59 of file formattools.h.

Referenced by create_objects(), and File::get_options().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:15 2006 for Cinelerra-svn by  doxygen 1.4.4