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

PreferencesThread Class Reference

#include <preferencesthread.h>

List of all members.

Public Member Functions

 PreferencesThread (MWindow *mwindow)
 ~PreferencesThread ()
void run ()
int update_framerate ()
int apply_settings ()
char * category_to_text (int category)
int text_to_category (char *category)

Public Attributes

int current_dialog
int thread_running
int redraw_indexes
int redraw_meters
int redraw_times
int redraw_overlays
int rerender
int close_assets
int reload_plugins
PreferencesWindowwindow
Mutex * window_lock
MWindowmwindow
Preferencespreferences
EDLedl


Detailed Description

Definition at line 26 of file preferencesthread.h.


Constructor & Destructor Documentation

PreferencesThread::PreferencesThread MWindow mwindow  ) 
 

Definition at line 82 of file preferencesthread.C.

References thread_running, window, and window_lock.

PreferencesThread::~PreferencesThread  ) 
 

Definition at line 91 of file preferencesthread.C.

References window_lock.


Member Function Documentation

int PreferencesThread::apply_settings  ) 
 

Definition at line 152 of file preferencesthread.C.

References PlaybackConfig::aconfig, Preferences::brender_asset, MWindowGUI::canvas, MeterPanel::change_format(), PatchBay::change_meter_format(), Preferences::copy_from(), EDL::copy_session(), MWindow::cwindow, TrackCanvas::draw_overlays(), MWindow::edl, edl, Asset::equivalent(), Preferences::force_uniprocessor, LevelWindow::gui, MWindow::gui, VWindow::gui, CWindow::gui, MWindow::init_brender(), EDLSession::interpolation_type, MWindow::lwindow, EDLSession::max_meter_db, EDLSession::meter_format, VWindowGUI::meters, CWindowGUI::meters, EDLSession::min_meter_db, mwindow, LevelWindowGUI::panel, MWindowGUI::patchbay, EDLSession::playback_buffer, EDLSession::playback_config, CWindow::playback_engine, EDLSession::playback_preload, EDLSession::playback_software_position, MWindow::preferences, preferences, PlaybackEngine::que, EDLSession::real_time_playback, redraw_meters, redraw_overlays, MWindowGUI::redraw_time_dependancies(), redraw_times, rerender, TransportQue::send_command(), EDL::session, EDLSession::test_playback_edits, MWindowGUI::update(), PlaybackConfig::vconfig, EDLSession::video_every_frame, and MWindow::vwindow.

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

char * PreferencesThread::category_to_text int  category  ) 
 

Definition at line 250 of file preferencesthread.C.

References _.

Referenced by PreferencesWindow::create_objects(), and text_to_category().

void PreferencesThread::run  ) 
 

Definition at line 96 of file preferencesthread.C.

References apply_settings(), close_assets, Preferences::copy_from(), EDL::copy_session(), PreferencesWindow::create_objects(), EDL::create_objects(), current_dialog, MWindow::defaults, MWindow::edl, edl, MWindow::gui, HEIGHT, mwindow, MWindow::preferences, preferences, redraw_indexes, redraw_meters, redraw_overlays, redraw_times, reload_plugins, rerender, MWindow::save_defaults(), thread_running, WIDTH, window, and window_lock.

int PreferencesThread::text_to_category char *  category  ) 
 

Definition at line 276 of file preferencesthread.C.

References CATEGORIES, and category_to_text().

Referenced by PreferencesCategory::handle_event().

int PreferencesThread::update_framerate  ) 
 

Definition at line 143 of file preferencesthread.C.

References thread_running, PreferencesWindow::update_framerate(), and window.

Referenced by RenderEngine::update_framerate().


Member Data Documentation

int PreferencesThread::close_assets
 

Definition at line 45 of file preferencesthread.h.

Referenced by run().

int PreferencesThread::current_dialog
 

Definition at line 38 of file preferencesthread.h.

Referenced by PreferencesWindow::create_objects(), run(), PreferencesWindow::set_current_dialog(), and PreferencesWindow::update_framerate().

EDL* PreferencesThread::edl
 

Definition at line 52 of file preferencesthread.h.

Referenced by apply_settings(), RecordPrefs::create_objects(), PlaybackPrefs::create_objects(), InterfacePrefs::create_objects(), VDevicePrefs::create_screencap_objs(), VDevicePrefs::create_v4l2_objs(), VDevicePrefs::create_v4l2jpeg_objs(), VDevicePrefs::create_v4l_objs(), PlaybackPrefs::draw_framerate(), StillImageDuration::handle_event(), StillImageUseDuration::handle_event(), RecordSyncDrives::handle_event(), RecordSoftwareTimer::handle_event(), VideoCaptureLength::handle_event(), VideoWriteLength::handle_event(), RecordFrameRate::handle_event(), RecordH::handle_event(), RecordW::handle_event(), RecordSampleRate::handle_event(), RecordRealTime::handle_event(), RecordWriteLength::handle_event(), TimecodeOffset::handle_event(), VideoEveryFrame::handle_event(), PlaybackPreload::handle_event(), PlaybackRealTime::handle_event(), PlaybackSoftwareTimer::handle_event(), PlaybackViewFollows::handle_event(), MeterVUInt::handle_event(), MeterVUDB::handle_event(), MeterMaxDB::handle_event(), MeterMinDB::handle_event(), TimeFormatFeetSetting::handle_event(), run(), PlaybackPrefs::update(), InterfacePrefs::update(), and PreferencesWindow::update_framerate().

MWindow* PreferencesThread::mwindow
 

Definition at line 49 of file preferencesthread.h.

Referenced by apply_settings(), and run().

Preferences* PreferencesThread::preferences
 

Definition at line 51 of file preferencesthread.h.

Referenced by apply_settings(), PluginPrefs::create_objects(), PerformancePrefs::generate_node_list(), PluginLocalPathText::handle_event(), PluginGlobalPathText::handle_event(), PrefsRenderFarmVFS::handle_event(), PrefsRenderFarmMountpoint::handle_event(), PrefsRenderFarmJobs::handle_event(), PrefsRenderFarmReset::handle_event(), PrefsRenderFarmSortNodes::handle_event(), PrefsRenderFarmDelNode::handle_event(), PrefsRenderFarmReplaceNode::handle_event(), PrefsRenderFarmNewNode::handle_event(), PrefsRenderFarmNodes::handle_event(), PrefsRenderFarmPort::handle_event(), PrefsRenderFarmConsolidate::handle_event(), PrefsForceUniprocessor::handle_event(), PrefsRenderFarm::handle_event(), PrefsBRenderPreroll::handle_event(), PrefsRenderPreroll::handle_event(), CICacheSize::handle_event(), PrefsBRenderFragment::handle_event(), PrefsUseBRender::handle_event(), UseTipWindow::handle_event(), ViewThumbnails::handle_event(), ViewThemeItem::handle_event(), IndexCount::handle_event(), IndexSize::handle_event(), IndexPathText::handle_event(), PreferencesDialog::PreferencesDialog(), run(), and DeleteAllIndexes::run().

int PreferencesThread::redraw_indexes
 

Definition at line 40 of file preferencesthread.h.

Referenced by run(), and DeleteAllIndexes::run().

int PreferencesThread::redraw_meters
 

Definition at line 41 of file preferencesthread.h.

Referenced by apply_settings(), MeterVUInt::handle_event(), MeterVUDB::handle_event(), MeterMaxDB::handle_event(), MeterMinDB::handle_event(), and run().

int PreferencesThread::redraw_overlays
 

Definition at line 43 of file preferencesthread.h.

Referenced by apply_settings(), PrefsUseBRender::handle_event(), and run().

int PreferencesThread::redraw_times
 

Definition at line 42 of file preferencesthread.h.

Referenced by apply_settings(), PrefsUseBRender::handle_event(), run(), and InterfacePrefs::update().

int PreferencesThread::reload_plugins
 

Definition at line 46 of file preferencesthread.h.

Referenced by run().

int PreferencesThread::rerender
 

Definition at line 44 of file preferencesthread.h.

Referenced by apply_settings(), and run().

int PreferencesThread::thread_running
 

Definition at line 39 of file preferencesthread.h.

Referenced by PreferencesThread(), run(), and update_framerate().

PreferencesWindow* PreferencesThread::window
 

Definition at line 47 of file preferencesthread.h.

Referenced by PreferencesCategory::handle_event(), PreferencesCancel::handle_event(), PreferencesOK::handle_event(), PreferencesMenuitem::handle_event(), PreferencesCancel::keypress_event(), PreferencesOK::keypress_event(), PreferencesThread(), run(), and update_framerate().

Mutex* PreferencesThread::window_lock
 

Definition at line 48 of file preferencesthread.h.

Referenced by PreferencesMenuitem::handle_event(), PreferencesThread(), run(), and ~PreferencesThread().


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