MWindow Class Reference

#include <mwindow.h>

Inherits BC_Window, and Thread.

Collaboration diagram for MWindow:

Collaboration graph
[legend]

Public Types

enum  { AUDIO_5_1_TO_2, AUDIO_1_TO_1 }

Public Member Functions

 MWindow ()
 ~MWindow ()
void create_objects (int want_gui, int want_new, char *config_path)
void show_splash ()
void hide_splash ()
void start ()
void run ()
int run_script (FileXML *script)
int new_project ()
int delete_project (int flash=1)
int load_defaults ()
int save_defaults ()
int set_filename (char *filename)
int get_tracks_height ()
int get_tracks_width ()
void show_vwindow ()
void show_awindow ()
void show_lwindow ()
void show_cwindow ()
void show_gwindow ()
void tile_windows ()
void set_titles (int value)
int asset_to_edl (EDL *new_edl, Asset *new_asset, RecordLabels *labels=0)
int paste_assets (double position, Track *dest_track, int overwrite)
void load_assets (ArrayList< Asset * > *new_assets, double position, int load_mode, Track *first_track, RecordLabels *labels, int edit_labels, int edit_plugins, int overwrite)
int paste_edls (ArrayList< EDL * > *new_edls, int load_mode, Track *first_track, double current_position, int edit_labels, int edit_plugins, int overwrite)
void update_project (int load_mode)
void fit_selection ()
void fit_autos (int doall)
void change_currentautorange (int autogrouptype, int increment, int changemax)
void expand_autos (int changeall, int domin, int domax)
void shrink_autos (int changeall, int domin, int domax)
void find_cursor ()
void create_plugindb (int do_audio, int do_video, int is_realtime, int is_transition, int is_theme, ArrayList< PluginServer * > &plugindb)
PluginServerscan_plugindb (char *title, int data_type)
void dump_plugins ()
int load_filenames (ArrayList< char * > *filenames, int load_mode=LOAD_REPLACE, int update_filename=1, char *reel_name="cin0000", int reel_number=0, int overwrite_reel=0)
void test_plugins (EDL *new_edl, char *path)
int interrupt_indexes ()
int redraw_time_dependancies ()
void next_time_format ()
void prev_time_format ()
void time_format_common ()
int reposition_timebar (int new_pixel, int new_height)
int expand_sample (double fixed_sample=-1)
int zoom_in_sample (double fixed_sample=-1)
int zoom_sample (int64_t zoom_sample, int64_t view_start=-1)
void zoom_amp (int64_t zoom_amp)
void zoom_track (int64_t zoom_track)
int fit_sample ()
int move_left (int64_t distance=0)
int move_right (int64_t distance=0)
void move_up (int64_t distance=0)
void move_down (int64_t distance=0)
int next_label (int shift_down)
int prev_label (int shift_down)
int next_edit_handle (int shift_down)
int prev_edit_handle (int shift_down)
void trackmovement (int track_start)
int samplemovement (int64_t view_start)
void select_all ()
int goto_start ()
int goto_end ()
int expand_y ()
int zoom_in_y ()
int expand_t ()
int zoom_in_t ()
void crop_video ()
void update_plugins ()
void save_backup ()
void show_plugin (Plugin *plugin)
void hide_plugin (Plugin *plugin, int lock)
void hide_plugins ()
void update_plugin_guis ()
void update_plugin_states ()
void update_plugin_titles ()
void render_plugin_gui (void *data, Plugin *plugin)
void render_plugin_gui (void *data, int size, Plugin *plugin)
int plugin_gui_open (Plugin *plugin)
void map_audio (int pattern)
void add_audio_track_entry (int above, Track *dst)
int add_audio_track (int above, Track *dst)
void add_clip_to_edl (EDL *edl)
void add_video_track_entry (Track *dst=0)
int add_video_track (int above, Track *dst)
void asset_to_size ()
void asset_to_rate ()
void clear_entry ()
void clear (int clear_handle)
void clear_labels ()
int clear_labels (double start, double end)
void concatenate_tracks ()
void copy ()
int copy (double start, double end)
void cut ()
void delete_folder (char *folder)
void delete_inpoint ()
void delete_outpoint ()
void delete_track ()
void delete_track (Track *track)
void delete_tracks ()
void detach_transition (Transition *transition)
int feather_edits (int64_t feather_samples, int audio, int video)
int64_t get_feather (int audio, int video)
float get_aspect_ratio ()
void insert (double position, FileXML *file, int edit_labels, int edit_plugins, EDL *parent_edl=0)
void insert_effects_canvas (double start, double length)
void insert_effects_cwindow (Track *dest_track)
void insert_effect (char *title, SharedLocation *shared_location, Track *track, PluginSet *plugin_set, double start, double length, int plugin_type)
void match_output_size (Track *track)
void move_edits (ArrayList< Edit * > *edits, Track *track, double position, int behaviour)
void move_effect (Plugin *plugin, PluginSet *plugin_set, Track *track, int64_t position)
void move_plugins_up (PluginSet *plugin_set)
void move_plugins_down (PluginSet *plugin_set)
void move_track_down (Track *track)
void move_tracks_down ()
void move_track_up (Track *track)
void move_tracks_up ()
void mute_selection ()
void new_folder (char *new_folder)
void overwrite (EDL *source)
void paste ()
int paste (double start, double end, FileXML *file, int edit_labels, int edit_plugins)
int paste_output (int64_t startproject, int64_t endproject, int64_t startsource_sample, int64_t endsource_sample, int64_t startsource_frame, int64_t endsource_frame, Asset *asset, RecordLabels *new_labels)
void paste_silence ()
void paste_transition ()
void paste_transition_cwindow (Track *dest_track)
void paste_audio_transition ()
void paste_video_transition ()
void rebuild_indices ()
void reset_caches ()
void remove_asset_from_caches (Asset *asset)
void remove_assets_from_project (int push_undo=0)
void remove_assets_from_disk ()
void resize_track (Track *track, int w, int h)
void set_auto_keyframes (int value)
void set_labels_follow_edits (int value)
int set_editing_mode (int new_editing_mode)
void toggle_editing_mode ()
void set_inpoint (int is_mwindow)
void set_outpoint (int is_mwindow)
void splice (EDL *source)
void toggle_loop_playback ()
void trim_selection ()
void sync_parameters (int change_type=CHANGE_PARAMS)
void to_clip ()
int toggle_label (int is_mwindow)
void undo_entry (BC_WindowBase *calling_window_gui)
void redo_entry (BC_WindowBase *calling_window_gui)
int cut_automation ()
int copy_automation ()
int paste_automation ()
void clear_automation ()
void straighten_automation ()
int cut_default_keyframe ()
int copy_default_keyframe ()
int paste_default_keyframe ()
int clear_default_keyframe ()
int modify_edithandles ()
int modify_pluginhandles ()
void finish_modify_handles ()
void age_caches ()
int optimize_assets ()
void select_point (double position)
int set_loop_boundaries ()
int reset_meters ()
int fix_timing (int64_t &samples_out, int64_t &frames_out, int64_t samples_in)
void init_shm ()
void init_channeldb ()
void init_render ()
void init_exportedl ()
void init_brender ()
void restart_brender ()
void stop_brender ()
int brender_available (int position)
void set_brender_start ()
void init_error ()
void init_edl ()
void init_awindow ()
void init_gwindow ()
void init_tipwindow ()
void init_preferences ()
void init_signals ()
void init_theme ()
void init_compositor ()
void init_levelwindow ()
void init_viewer ()
void init_cache ()
void init_menus ()
void init_indexes ()
void init_gui ()
void init_3d ()
void init_playbackcursor ()
void delete_plugins ()
void clean_indexes ()
 MWindow (int x, int y)
int create_objects (char *input, char *output)

Static Public Member Functions

static int create_aspect_ratio (float &w, float &h, int width, int height)
static void create_defaults_path (char *string)
static void init_defaults (BC_Hash *&defaults, char *config_path)
static void init_plugins (Preferences *preferences, ArrayList< PluginServer * > *&plugindb, SplashGUI *splash_window)
static void init_plugin_path (Preferences *preferences, ArrayList< PluginServer * > *&plugindb, FileSystem *fs, SplashGUI *splash_window, int *counter)

Data Fields

Playback3Dplayback_3d
RemoveThreadremove_thread
SplashGUIsplash_window
MainUndoundo
BC_Hashdefaults
Assetsassets
CICacheaudio_cache
CICachevideo_cache
FrameCacheframe_cache
WaveCachewave_cache
Preferencespreferences
PreferencesThreadpreferences_thread
MainSessionsession
Themetheme
MainIndexesmainindexes
MainProgressmainprogress
BRenderbrender
ArrayList< ColormodelItem * > colormodels
ArrayList
< InterlaceautofixoptionItem * > 
interlace_asset_autofixoptions
ArrayList< InterlacemodeItem * > interlace_project_modes
ArrayList< InterlacemodeItem * > interlace_asset_modes
ArrayList
< InterlacefixmethodItem * > 
interlace_asset_fixmethods
ChannelDBchanneldb_buz
ChannelDBchanneldb_v4l2jpeg
ArrayList< PluginServer * > * plugindb
ArrayList< PluginServer * > * plugin_guis
BatchRenderThreadbatch_render
Renderrender
ExportEDLexportedl
EDLedl
MWindowGUIgui
CWindowcwindow
VWindowvwindow
AWindowawindow
GWindowgwindow
TipWindowtwindow
LevelWindowlwindow
Mutexplugin_gui_lock
Mutexbrender_lock
DeviceDVBInputdvb_input
Mutexdvb_input_lock
SigHandlersighandler
BC_Titletitle
BC_TextBoxinput_text
BC_TextBoxoutput_text

Detailed Description

Definition at line 71 of file mwindow.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
AUDIO_5_1_TO_2 
AUDIO_1_TO_1 

Definition at line 237 of file mwindow.h.


Constructor & Destructor Documentation

MWindow::MWindow (  ) 

MWindow::~MWindow (  ) 

MWindow::MWindow ( int  x,
int  y 
) [inline]

Definition at line 15 of file replace.C.


Member Function Documentation

void MWindow::create_objects ( int  want_gui,
int  want_new,
char *  config_path 
)

void MWindow::show_splash (  ) 

Definition at line 1359 of file mwindow.C.

References SplashGUI::create_objects(), VFrame::get_h(), BC_DisplayInfo::get_root_h(), BC_DisplayInfo::get_root_w(), VFrame::get_w(), heroine_logo12_png, and splash_window.

Referenced by create_objects().

Here is the call graph for this function:

void MWindow::hide_splash (  ) 

Definition at line 1370 of file mwindow.C.

References splash_window.

Referenced by create_objects().

void MWindow::start (  ) 

void MWindow::run (  )  [virtual]

Implements Thread.

Definition at line 1390 of file mwindow.C.

References gui, and BC_WindowBase::run_window().

Here is the call graph for this function:

int MWindow::run_script ( FileXML script  ) 

Definition at line 2098 of file mwindow.C.

References XMLTag::get_title(), FileXML::read_tag(), FileXML::tag, and XMLTag::title_is().

Here is the call graph for this function:

int MWindow::new_project (  ) 

int MWindow::delete_project ( int  flash = 1  ) 

int MWindow::load_defaults (  ) 

int MWindow::save_defaults (  ) 

int MWindow::set_filename ( char *  filename  ) 

int MWindow::get_tracks_height (  ) 

int MWindow::get_tracks_width (  ) 

void MWindow::show_vwindow (  ) 

void MWindow::show_awindow (  ) 

void MWindow::show_lwindow (  ) 

void MWindow::show_cwindow (  ) 

Definition at line 1417 of file mwindow.C.

References cwindow, gui, MWindowGUI::mainmenu, session, BC_MenuItem::set_checked(), MainMenu::show_cwindow, MainSession::show_cwindow, and CWindow::show_window().

Referenced by ShowCWindow::handle_event().

Here is the call graph for this function:

void MWindow::show_gwindow (  ) 

void MWindow::tile_windows (  ) 

Definition at line 1448 of file mwindow.C.

References MWindowGUI::default_positions(), MainSession::default_window_positions(), gui, and session.

Referenced by TileWindows::handle_event().

Here is the call graph for this function:

void MWindow::set_titles ( int  value  ) 

Definition at line 1465 of file mwindow.C.

References edl, EDL::local_session, EDL::session, EDLSession::show_titles, LocalSession::track_start, and trackmovement().

Here is the call graph for this function:

int MWindow::asset_to_edl ( EDL new_edl,
Asset new_asset,
RecordLabels labels = 0 
)

int MWindow::paste_assets ( double  position,
Track dest_track,
int  overwrite 
)

void MWindow::load_assets ( ArrayList< Asset * > *  new_assets,
double  position,
int  load_mode,
Track first_track,
RecordLabels labels,
int  edit_labels,
int  edit_plugins,
int  overwrite 
)

int MWindow::paste_edls ( ArrayList< EDL * > *  new_edls,
int  load_mode,
Track first_track,
double  current_position,
int  edit_labels,
int  edit_plugins,
int  overwrite 
)

void MWindow::update_project ( int  load_mode  ) 

void MWindow::fit_selection (  ) 

void MWindow::fit_autos ( int  doall  ) 

void MWindow::change_currentautorange ( int  autogrouptype,
int  increment,
int  changemax 
)

void MWindow::expand_autos ( int  changeall,
int  domin,
int  domax 
)

void MWindow::shrink_autos ( int  changeall,
int  domin,
int  domax 
)

void MWindow::find_cursor (  ) 

void MWindow::create_plugindb ( int  do_audio,
int  do_video,
int  is_realtime,
int  is_transition,
int  is_theme,
ArrayList< PluginServer * > &  plugindb 
)

PluginServer * MWindow::scan_plugindb ( char *  title,
int  data_type 
)

void MWindow::dump_plugins (  ) 

int MWindow::load_filenames ( ArrayList< char * > *  filenames,
int  load_mode = LOAD_REPLACE,
int  update_filename = 1,
char *  reel_name = "cin0000",
int  reel_number = 0,
int  overwrite_reel = 0 
)

Definition at line 801 of file mwindow.C.

References _, MainIndexes::add_next_asset(), ArrayList< TYPE >::append(), File::asset, asset_to_edl(), EDL::assets, Asset::audio_data, BCTEXTLEN, Asset::bits, Asset::byte_order, Asset::channels, EDL::clear(), LocalSession::clip_title, IndexFile::close_index(), EDL::copy_session(), FileFormat::create_objects(), EDL::create_objects(), cwindow, StatusBar::default_message(), defaults, Garbage::delete_object(), edl, Thread::end(), EQUIV, FileSystem::extract_name(), MainSession::filename, Asset::format, BC_Hash::get(), Assets::get_asset(), IndexFile::get_index_filename(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, Asset::header, Asset::height, Preferences::index_directory, Asset::index_status, PlaybackEngine::interrupt_playback(), EDLSession::labels_follow_edits, EDL::load_xml(), EDL::local_session, mainindexes, Theme::message_error, File::open_file(), IndexFile::open_index(), paste_edls(), Asset::path, VWindow::playback_engine, CWindow::playback_engine, plugindb, EDLSession::plugins_follow_edits, preferences, PlaybackEngine::que, FileXML::read_from_file(), Asset::reel_name, Asset::reel_number, ArrayList< TYPE >::remove_all(), ArrayList< TYPE >::remove_all_objects(), BC_WindowBase::run_window(), Asset::sample_rate, save_defaults(), TransportQue::send_command(), EDL::session, session, set_filename(), SET_TRACE, MainError::show_error(), MWindowGUI::show_message(), Asset::signed_, start(), MainIndexes::start_build(), BC_WindowBase::start_hourglass(), MWindowGUI::statusbar, STOP, BC_WindowBase::stop_hourglass(), test_plugins(), theme, ArrayList< TYPE >::total, LocalSession::track_start, undo, Assets::update(), BC_Hash::update(), update_project(), MainUndo::update_undo(), ArrayList< TYPE >::values, Asset::video_data, LocalSession::view_start, vwindow, and Asset::width.

Referenced by LoadBackup::handle_event(), LoadPrevious::handle_event(), main(), and LoadFileThread::run().

Here is the call graph for this function:

void MWindow::test_plugins ( EDL new_edl,
char *  path 
)

int MWindow::interrupt_indexes (  ) 

Definition at line 2132 of file mwindow.C.

References MainIndexes::interrupt_build(), and mainindexes.

Referenced by Quit::handle_event(), Quit::run(), and LoadFileThread::run().

Here is the call graph for this function:

int MWindow::redraw_time_dependancies (  ) 

void MWindow::next_time_format (  ) 

Definition at line 2140 of file mwindow.C.

References edl, EDL::session, TIME_FEET_FRAMES, EDLSession::time_format, time_format_common(), TIME_FRAMES, TIME_HMS, TIME_HMSF, TIME_SAMPLES, TIME_SAMPLES_HEX, and TIME_SECONDS.

Referenced by TimeBar::button_press_event().

Here is the call graph for this function:

void MWindow::prev_time_format (  ) 

Definition at line 2156 of file mwindow.C.

References edl, EDL::session, TIME_FEET_FRAMES, EDLSession::time_format, time_format_common(), TIME_FRAMES, TIME_HMS, TIME_HMSF, TIME_SAMPLES, TIME_SAMPLES_HEX, and TIME_SECONDS.

Referenced by TimeBar::button_press_event().

Here is the call graph for this function:

void MWindow::time_format_common (  ) 

int MWindow::reposition_timebar ( int  new_pixel,
int  new_height 
)

int MWindow::expand_sample ( double  fixed_sample = -1  ) 

int MWindow::zoom_in_sample ( double  fixed_sample = -1  ) 

int MWindow::zoom_sample ( int64_t  zoom_sample,
int64_t  view_start = -1 
)

void MWindow::zoom_amp ( int64_t  zoom_amp  ) 

void MWindow::zoom_track ( int64_t  zoom_track  ) 

Definition at line 343 of file mwindowmove.C.

References CLAMP, edl, EDL::local_session, LocalSession::track_start, trackmovement(), LocalSession::zoom_track, and LocalSession::zoom_y.

Referenced by expand_t(), TrackZoomPanel::handle_event(), and zoom_in_t().

Here is the call graph for this function:

int MWindow::fit_sample (  ) 

int MWindow::move_left ( int64_t  distance = 0  ) 

int MWindow::move_right ( int64_t  distance = 0  ) 

void MWindow::move_up ( int64_t  distance = 0  ) 

void MWindow::move_down ( int64_t  distance = 0  ) 

int MWindow::next_label ( int  shift_down  ) 

int MWindow::prev_label ( int  shift_down  ) 

int MWindow::next_edit_handle ( int  shift_down  ) 

int MWindow::prev_edit_handle ( int  shift_down  ) 

void MWindow::trackmovement ( int  track_start  ) 

int MWindow::samplemovement ( int64_t  view_start  ) 

void MWindow::select_all (  ) 

int MWindow::goto_start (  ) 

int MWindow::goto_end (  ) 

int MWindow::expand_y (  ) 

Definition at line 732 of file mwindowmove.C.

References edl, gui, EDL::local_session, MIN, ZoomBar::update(), zoom_amp(), LocalSession::zoom_y, and MWindowGUI::zoombar.

Referenced by MWindowGUI::keypress_event().

Here is the call graph for this function:

int MWindow::zoom_in_y (  ) 

Definition at line 741 of file mwindowmove.C.

References edl, gui, EDL::local_session, MAX, ZoomBar::update(), zoom_amp(), LocalSession::zoom_y, and MWindowGUI::zoombar.

Referenced by MWindowGUI::keypress_event().

Here is the call graph for this function:

int MWindow::expand_t (  ) 

Definition at line 750 of file mwindowmove.C.

References edl, gui, EDL::local_session, MIN, ZoomBar::update(), zoom_track(), LocalSession::zoom_track, and MWindowGUI::zoombar.

Referenced by MWindowGUI::keypress_event().

Here is the call graph for this function:

int MWindow::zoom_in_t (  ) 

Definition at line 759 of file mwindowmove.C.

References edl, gui, EDL::local_session, MAX, ZoomBar::update(), zoom_track(), LocalSession::zoom_track, and MWindowGUI::zoombar.

Referenced by MWindowGUI::keypress_event().

Here is the call graph for this function:

void MWindow::crop_video (  ) 

void MWindow::update_plugins (  ) 

Definition at line 26 of file mwindowmove.C.

void MWindow::save_backup (  ) 

Definition at line 1912 of file mwindow.C.

References _, BCTEXTLEN, FileSystem::complete_path(), edl, MainSession::filename, gui, plugindb, EDL::save_xml(), session, EDL::set_project_path(), MWindowGUI::show_message(), FileXML::terminate_string(), and FileXML::write_to_file().

Referenced by add_audio_track(), add_audio_track_entry(), add_video_track(), add_video_track_entry(), SetFormatThread::apply_changes(), asset_to_rate(), asset_to_size(), clear_automation(), clear_default_keyframe(), clear_entry(), clear_labels(), concatenate_tracks(), copy(), crop_video(), cut(), cut_automation(), cut_default_keyframe(), delete_inpoint(), delete_outpoint(), delete_track(), delete_tracks(), detach_transition(), CWindowGUI::drag_stop(), finish_modify_handles(), SaveBackup::handle_event(), PluginPopupDetach::handle_event(), SaveSettingsNow::handle_event(), LoadBackup::handle_event(), LoadPrevious::handle_event(), KeyframePopupDelete::handle_event(), insert_effects_canvas(), insert_effects_cwindow(), load_assets(), match_output_size(), move_edits(), move_effect(), move_plugins_down(), move_plugins_up(), move_track_down(), move_track_up(), move_tracks_down(), move_tracks_up(), mute_selection(), overwrite(), paste(), paste_assets(), paste_audio_transition(), paste_automation(), paste_default_keyframe(), paste_silence(), paste_transition(), paste_transition_cwindow(), paste_video_transition(), redo_entry(), remove_assets_from_project(), Render::render(), resize_track(), Record::run(), PluginDialogThread::run(), MenuEffectThread::run(), LoadFileThread::run(), set_inpoint(), set_outpoint(), splice(), straighten_automation(), to_clip(), toggle_label(), toggle_loop_playback(), trim_selection(), and undo_entry().

Here is the call graph for this function:

void MWindow::show_plugin ( Plugin plugin  ) 

void MWindow::hide_plugin ( Plugin plugin,
int  lock 
)

void MWindow::hide_plugins (  ) 

Definition at line 1664 of file mwindow.C.

References Mutex::lock(), plugin_gui_lock, plugin_guis, ArrayList< TYPE >::remove_all_objects(), and Mutex::unlock().

Referenced by New::create_new_project(), and paste_edls().

Here is the call graph for this function:

void MWindow::update_plugin_guis (  ) 

void MWindow::update_plugin_states (  ) 

void MWindow::update_plugin_titles (  ) 

Definition at line 1769 of file mwindow.C.

References plugin_guis, ArrayList< TYPE >::total, PluginServer::update_title(), and ArrayList< TYPE >::values.

Referenced by TitlePatch::handle_event().

Here is the call graph for this function:

void MWindow::render_plugin_gui ( void *  data,
Plugin plugin 
)

void MWindow::render_plugin_gui ( void *  data,
int  size,
Plugin plugin 
)

int MWindow::plugin_gui_open ( Plugin plugin  ) 

void MWindow::map_audio ( int  pattern  ) 

void MWindow::add_audio_track_entry ( int  above,
Track dst 
)

int MWindow::add_audio_track ( int  above,
Track dst 
)

Definition at line 103 of file mwindowedit.C.

References Tracks::add_audio_track(), edl, save_backup(), theme, EDL::tracks, and Tracks::update_y_pixels().

Referenced by add_audio_track_entry().

Here is the call graph for this function:

void MWindow::add_clip_to_edl ( EDL edl  ) 

void MWindow::add_video_track_entry ( Track dst = 0  ) 

int MWindow::add_video_track ( int  above,
Track dst 
)

Definition at line 111 of file mwindowedit.C.

References Tracks::add_video_track(), edl, save_backup(), theme, EDL::tracks, and Tracks::update_y_pixels().

Referenced by add_video_track_entry().

Here is the call graph for this function:

void MWindow::asset_to_size (  ) 

void MWindow::asset_to_rate (  ) 

void MWindow::clear_entry (  ) 

void MWindow::clear ( int  clear_handle  ) 

void MWindow::clear_labels (  ) 

int MWindow::clear_labels ( double  start,
double  end 
)

Definition at line 285 of file mwindowedit.C.

References Labels::clear(), edl, and EDL::labels.

Here is the call graph for this function:

void MWindow::concatenate_tracks (  ) 

void MWindow::copy (  ) 

Definition at line 306 of file mwindowedit.C.

References edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), and EDL::local_session.

Referenced by EditPanel::copy_selection(), cut(), and Copy::handle_event().

Here is the call graph for this function:

int MWindow::copy ( double  start,
double  end 
)

Definition at line 312 of file mwindowedit.C.

References EDL::copy(), edl, BC_WindowBase::get_clipboard(), gui, plugindb, save_backup(), SECONDARY_SELECTION, FileXML::string, and BC_Clipboard::to_clipboard().

Here is the call graph for this function:

void MWindow::cut (  ) 

int MWindow::create_aspect_ratio ( float &  w,
float &  h,
int  width,
int  height 
) [static]

void MWindow::create_defaults_path ( char *  string  )  [static]

Definition at line 186 of file mwindow.C.

References BCASTDIR, FileSystem::complete_path(), FileSystem::create_dir(), and FileSystem::is_dir().

Referenced by init_defaults(), and LiveVideo::process_buffer().

Here is the call graph for this function:

void MWindow::delete_folder ( char *  folder  ) 

Definition at line 2166 of file mwindowedit.C.

Referenced by AWindowDeleteFolder::handle_event().

void MWindow::delete_inpoint (  ) 

Definition at line 485 of file mwindowedit.C.

References edl, EDL::local_session, save_backup(), and LocalSession::unset_inpoint().

Referenced by EditPanel::clear_inpoint().

Here is the call graph for this function:

void MWindow::delete_outpoint (  ) 

Definition at line 491 of file mwindowedit.C.

References edl, EDL::local_session, save_backup(), and LocalSession::unset_outpoint().

Referenced by EditPanel::clear_outpoint().

Here is the call graph for this function:

void MWindow::delete_track (  ) 

Definition at line 497 of file mwindowedit.C.

References edl, List< TYPE >::last, and EDL::tracks.

Referenced by DeleteTrack::handle_event(), and EditPopupDeleteTrack::handle_event().

void MWindow::delete_track ( Track track  ) 

void MWindow::delete_tracks (  ) 

void MWindow::detach_transition ( Transition transition  ) 

int MWindow::feather_edits ( int64_t  feather_samples,
int  audio,
int  video 
)

Referenced by FeatherEdits::run().

int64_t MWindow::get_feather ( int  audio,
int  video 
)

Referenced by FeatherEdits::run().

float MWindow::get_aspect_ratio (  ) 

Referenced by CropVideo::run().

void MWindow::insert ( double  position,
FileXML file,
int  edit_labels,
int  edit_plugins,
EDL parent_edl = 0 
)

void MWindow::insert_effects_canvas ( double  start,
double  length 
)

void MWindow::insert_effects_cwindow ( Track dest_track  ) 

void MWindow::insert_effect ( char *  title,
SharedLocation shared_location,
Track track,
PluginSet plugin_set,
double  start,
double  length,
int  plugin_type 
)

void MWindow::match_output_size ( Track track  ) 

void MWindow::move_edits ( ArrayList< Edit * > *  edits,
Track track,
double  position,
int  behaviour 
)

void MWindow::move_effect ( Plugin plugin,
PluginSet plugin_set,
Track track,
int64_t  position 
)

void MWindow::move_plugins_up ( PluginSet plugin_set  ) 

Definition at line 863 of file mwindowedit.C.

References _, gui, Track::move_plugins_up(), restart_brender(), save_backup(), sync_parameters(), Edits::track, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by PluginPopupUp::handle_event().

Here is the call graph for this function:

void MWindow::move_plugins_down ( PluginSet plugin_set  ) 

Definition at line 881 of file mwindowedit.C.

References _, gui, Track::move_plugins_down(), restart_brender(), save_backup(), sync_parameters(), Edits::track, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by PluginPopupDown::handle_event().

Here is the call graph for this function:

void MWindow::move_track_down ( Track track  ) 

Definition at line 899 of file mwindowedit.C.

References _, edl, gui, Tracks::move_track_down(), restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by EditMoveTrackDown::handle_event().

Here is the call graph for this function:

void MWindow::move_tracks_down (  ) 

Definition at line 911 of file mwindowedit.C.

References _, edl, gui, Tracks::move_tracks_down(), restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by MoveTracksDown::handle_event().

Here is the call graph for this function:

void MWindow::move_track_up ( Track track  ) 

Definition at line 923 of file mwindowedit.C.

References _, edl, gui, Tracks::move_track_up(), restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by EditMoveTrackUp::handle_event().

Here is the call graph for this function:

void MWindow::move_tracks_up (  ) 

Definition at line 934 of file mwindowedit.C.

References _, edl, gui, Tracks::move_tracks_up(), restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by MoveTracksUp::handle_event().

Here is the call graph for this function:

void MWindow::mute_selection (  ) 

void MWindow::new_folder ( char *  new_folder  ) 

Definition at line 2159 of file mwindowedit.C.

References _, AWindowGUI::async_update_assets(), awindow, edl, AWindow::gui, EDL::new_folder(), undo, and MainUndo::update_undo().

Referenced by NewFolderThread::run().

Here is the call graph for this function:

void MWindow::overwrite ( EDL source  ) 

void MWindow::paste (  ) 

int MWindow::paste ( double  start,
double  end,
FileXML file,
int  edit_labels,
int  edit_plugins 
)

Definition at line 1028 of file mwindowedit.C.

References clear(), edl, and insert().

Here is the call graph for this function:

int MWindow::paste_output ( int64_t  startproject,
int64_t  endproject,
int64_t  startsource_sample,
int64_t  endsource_sample,
int64_t  startsource_frame,
int64_t  endsource_frame,
Asset asset,
RecordLabels new_labels 
)

void MWindow::paste_silence (  ) 

void MWindow::paste_transition (  ) 

void MWindow::paste_transition_cwindow ( Track dest_track  ) 

void MWindow::paste_audio_transition (  ) 

void MWindow::paste_video_transition (  ) 

void MWindow::rebuild_indices (  ) 

void MWindow::reset_caches (  ) 

void MWindow::remove_asset_from_caches ( Asset asset  ) 

void MWindow::remove_assets_from_project ( int  push_undo = 0  )