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

SetFormatThread Class Reference

#include <setformat.h>

List of all members.

Public Member Functions

 SetFormatThread (MWindow *mwindow)
void run ()
void apply_changes ()
void update_window ()
void update_aspect ()
void update ()

Public Attributes

Mutex * window_lock
SetFormatWindowwindow
MWindowmwindow
EDLnew_settings
float ratio [2]
int dimension [2]
int orig_dimension [2]
int auto_aspect
int constrain_ratio


Detailed Description

Definition at line 28 of file setformat.h.


Constructor & Destructor Documentation

SetFormatThread::SetFormatThread MWindow mwindow  ) 
 

Definition at line 57 of file setformat.C.

References window, and window_lock.


Member Function Documentation

void SetFormatThread::apply_changes  ) 
 

Definition at line 104 of file setformat.C.

References _, EDLSession::audio_channels, EDL::copy_session(), MWindow::cwindow, dimension, MWindow::edl, EDLSession::frame_rate, LevelWindow::gui, VWindow::gui, CWindow::gui, MWindow::gui, MWindow::lwindow, VWindowGUI::meters, CWindowGUI::meters, mwindow, new_settings, EDLSession::output_h, EDLSession::output_w, LevelWindowGUI::panel, EDL::rechannel(), EDL::resample(), VWindowGUI::resize_event(), CWindowGUI::resize_event(), MWindow::restart_brender(), EDLSession::sample_rate, MWindow::save_backup(), EDL::session, MeterPanel::set_meters(), CWindowSlider::set_position(), CWindowGUI::slider, MWindow::sync_parameters(), TRACK_AUDIO, TRACK_VIDEO, MWindow::undo, MWindowGUI::update(), MainUndo::update_undo(), and MWindow::vwindow.

Referenced by SetFormatApply::handle_event(), and run().

void SetFormatThread::run  ) 
 

Definition at line 65 of file setformat.C.

References apply_changes(), auto_aspect, constrain_ratio, EDL::copy_session(), SetFormatWindow::create_objects(), EDL::create_objects(), MWindow::defaults, dimension, MWindow::edl, MWindow::gui, mwindow, new_settings, orig_dimension, EDLSession::output_h, EDLSession::output_w, ratio, EDL::session, Theme::setformat_h, Theme::setformat_w, MWindow::theme, window, and window_lock.

void SetFormatThread::update  ) 
 

Definition at line 158 of file setformat.C.

References EDLSession::aspect_h, SetFormatWindow::aspect_h, EDLSession::aspect_w, SetFormatWindow::aspect_w, EDLSession::audio_channels, SetFormatWindow::auto_aspect, auto_aspect, SetFormatWindow::canvas, SetFormatWindow::channels, constrain_ratio, SetFormatWindow::dimension, dimension, SetChannelsCanvas::draw(), EDLSession::frame_rate, SetFormatWindow::frame_rate, new_settings, orig_dimension, EDLSession::output_h, EDLSession::output_w, SetFormatWindow::ratio, ratio, EDLSession::sample_rate, SetFormatWindow::sample_rate, EDL::session, and window.

Referenced by SetFormatPresets::handle_event().

void SetFormatThread::update_aspect  ) 
 

Definition at line 241 of file setformat.C.

References SetFormatWindow::aspect_h, EDLSession::aspect_h, SetFormatWindow::aspect_w, EDLSession::aspect_w, auto_aspect, MWindow::create_aspect_ratio(), dimension, new_settings, EDL::session, and window.

Referenced by update_window().

void SetFormatThread::update_window  ) 
 

Definition at line 184 of file setformat.C.

References constrain_ratio, SetFormatWindow::dimension, dimension, orig_dimension, SetFormatWindow::ratio, ratio, update_aspect(), and window.


Member Data Documentation

int SetFormatThread::auto_aspect
 

Definition at line 51 of file setformat.h.

Referenced by run(), update(), and update_aspect().

int SetFormatThread::constrain_ratio
 

Definition at line 52 of file setformat.h.

Referenced by run(), update(), and update_window().

int SetFormatThread::dimension[2]
 

Definition at line 49 of file setformat.h.

Referenced by apply_changes(), run(), update(), update_aspect(), and update_window().

MWindow* SetFormatThread::mwindow
 

Definition at line 46 of file setformat.h.

Referenced by apply_changes(), and run().

EDL* SetFormatThread::new_settings
 

Definition at line 47 of file setformat.h.

Referenced by apply_changes(), SetChannelsCanvas::button_press_event(), SetChannelsCanvas::cursor_motion_event(), SetChannelsCanvas::draw(), SetFormatPresets::get_edl(), SetFrameRateTextBox::handle_event(), SetChannelsTextBox::handle_event(), SetSampleRateTextBox::handle_event(), run(), update(), and update_aspect().

int SetFormatThread::orig_dimension[2]
 

Definition at line 50 of file setformat.h.

Referenced by run(), update(), and update_window().

float SetFormatThread::ratio[2]
 

Definition at line 48 of file setformat.h.

Referenced by run(), update(), and update_window().

SetFormatWindow* SetFormatThread::window
 

Definition at line 45 of file setformat.h.

Referenced by SetChannelsTextBox::handle_event(), SetFormat::handle_event(), run(), SetFormatThread(), update(), update_aspect(), and update_window().

Mutex* SetFormatThread::window_lock
 

Definition at line 44 of file setformat.h.

Referenced by SetFormat::handle_event(), run(), and SetFormatThread().


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