#include <mwindow.h>
Inherits BC_Window, and Thread.

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) |
| PluginServer * | scan_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 | |
| Playback3D * | playback_3d |
| RemoveThread * | remove_thread |
| SplashGUI * | splash_window |
| MainUndo * | undo |
| BC_Hash * | defaults |
| Assets * | assets |
| CICache * | audio_cache |
| CICache * | video_cache |
| FrameCache * | frame_cache |
| WaveCache * | wave_cache |
| Preferences * | preferences |
| PreferencesThread * | preferences_thread |
| MainSession * | session |
| Theme * | theme |
| MainIndexes * | mainindexes |
| MainProgress * | mainprogress |
| BRender * | brender |
| ArrayList< ColormodelItem * > | colormodels |
| ArrayList < InterlaceautofixoptionItem * > | interlace_asset_autofixoptions |
| ArrayList< InterlacemodeItem * > | interlace_project_modes |
| ArrayList< InterlacemodeItem * > | interlace_asset_modes |
| ArrayList < InterlacefixmethodItem * > | interlace_asset_fixmethods |
| ChannelDB * | channeldb_buz |
| ChannelDB * | channeldb_v4l2jpeg |
| ArrayList< PluginServer * > * | plugindb |
| ArrayList< PluginServer * > * | plugin_guis |
| BatchRenderThread * | batch_render |
| Render * | render |
| ExportEDL * | exportedl |
| EDL * | edl |
| MWindowGUI * | gui |
| CWindow * | cwindow |
| VWindow * | vwindow |
| AWindow * | awindow |
| GWindow * | gwindow |
| TipWindow * | twindow |
| LevelWindow * | lwindow |
| Mutex * | plugin_gui_lock |
| Mutex * | brender_lock |
| DeviceDVBInput * | dvb_input |
| Mutex * | dvb_input_lock |
| SigHandler * | sighandler |
| BC_Title * | title |
| BC_TextBox * | input_text |
| BC_TextBox * | output_text |
Definition at line 71 of file mwindow.h.
| MWindow::MWindow | ( | ) |
Definition at line 129 of file mwindow.C.
References brender, brender_lock, channeldb_buz, channeldb_v4l2jpeg, dvb_input, dvb_input_lock, plugin_gui_lock, and session.
| MWindow::~MWindow | ( | ) |
Definition at line 142 of file mwindow.C.
References audio_cache, awindow, brender, brender_lock, clean_indexes(), cwindow, defaults, frame_cache, gui, Mutex::lock(), lwindow, mainindexes, mainprogress, plugin_gui_lock, plugin_guis, preferences, ArrayList< TYPE >::remove_all_objects(), render, save_defaults(), SET_TRACE, undo, Mutex::unlock(), video_cache, and vwindow.

| void MWindow::create_objects | ( | int | want_gui, | |
| int | want_new, | |||
| char * | config_path | |||
| ) |
Definition at line 1264 of file mwindow.C.
References _, awindow, BCTEXTLEN, MWindowGUI::canvas, RemoveThread::create_objects(), MWindowGUI::cursor, cwindow, defaults, MainCursor::draw(), TrackCanvas::draw(), edl, GWindow::gui, LevelWindow::gui, AWindow::gui, CWindow::gui, VWindow::gui, gui, gwindow, hide_splash(), init_3d(), init_awindow(), init_brender(), init_cache(), init_channeldb(), init_compositor(), init_defaults(), init_edl(), init_error(), init_exportedl(), init_gui(), init_gwindow(), init_indexes(), init_levelwindow(), init_plugins(), init_preferences(), init_render(), init_shm(), init_signals(), init_theme(), init_tipwindow(), init_viewer(), MainMenu::load_defaults(), lwindow, MWindowGUI::mainmenu, mainprogress, SplashGUI::operation, MWindowGUI::patchbay, plugin_guis, plugindb, preferences, BC_WindowBase::raise_window(), remove_thread, session, SET_TRACE, MainSession::show_awindow, MainSession::show_cwindow, MainSession::show_gwindow, MainSession::show_lwindow, show_splash(), MainSession::show_vwindow, BC_WindowBase::show_window(), splash_window, undo, PatchBay::update(), BC_Title::update(), MainMenu::update_toggles(), Preferences::use_tipwindow, and vwindow.
Referenced by main().

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

| void MWindow::hide_splash | ( | ) |
Definition at line 1370 of file mwindow.C.
References splash_window.
Referenced by create_objects().
| void MWindow::start | ( | ) |
Reimplemented from Thread.
Definition at line 1378 of file mwindow.C.
References awindow, cwindow, ENABLE_BUFFER, gwindow, lwindow, playback_3d, BC_Synchronous::start(), Thread::start(), and vwindow.
Referenced by clear(), cut(), fit_autos(), insert_effects_cwindow(), load_filenames(), main(), mute_selection(), paste(), paste_silence(), set_loop_boundaries(), splice(), and to_clip().

| void MWindow::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 1390 of file mwindow.C.
References gui, and BC_WindowBase::run_window().

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

| int MWindow::new_project | ( | ) |
| int MWindow::delete_project | ( | int | flash = 1 |
) |
| int MWindow::load_defaults | ( | ) |
| int MWindow::save_defaults | ( | ) |
Definition at line 2087 of file mwindow.C.
References defaults, edl, gui, preferences, BC_Hash::save(), Preferences::save_defaults(), MainSession::save_defaults(), EDL::save_defaults(), MWindowGUI::save_defaults(), and session.
Referenced by VWindowGUI::close_event(), LevelWindowGUI::close_event(), GWindowGUI::close_event(), AWindowGUI::close_event(), New::create_new_project(), TipWindow::get_current_tip(), PrefsChannelPicker::handle_channel_edit(), RecordChannelPicker::handle_channel_edit(), SaveSettingsNow::handle_event(), CWindow::hide_window(), load_filenames(), main(), Render::run(), Record::run(), PreferencesThread::run(), MenuEffectThread::run(), ExportEDL::run(), BatchRenderThread::save_defaults(), RenderProfile::save_to_slot(), and ~MWindow().

| int MWindow::set_filename | ( | char * | filename | ) |
Definition at line 2184 of file mwindow.C.
References BCTEXTLEN, FileSystem::extract_name(), MainSession::filename, gui, session, and BC_WindowBase::set_title().
Referenced by New::create_new_project(), LoadBackup::handle_event(), load_filenames(), SaveAs::run(), and LoadFileThread::run().

| int MWindow::get_tracks_height | ( | ) |
| int MWindow::get_tracks_width | ( | ) |
| void MWindow::show_vwindow | ( | ) |
Definition at line 1395 of file mwindow.C.
References BC_WindowBase::flush(), gui, VWindow::gui, BC_WindowBase::lock_window(), MWindowGUI::mainmenu, BC_WindowBase::raise_window(), session, BC_MenuItem::set_checked(), MainMenu::show_vwindow, MainSession::show_vwindow, BC_WindowBase::show_window(), BC_WindowBase::unlock_window(), and vwindow.
Referenced by ShowVWindow::handle_event().

| void MWindow::show_awindow | ( | ) |
Definition at line 1406 of file mwindow.C.
References awindow, BC_WindowBase::flush(), gui, AWindow::gui, BC_WindowBase::lock_window(), MWindowGUI::mainmenu, BC_WindowBase::raise_window(), session, BC_MenuItem::set_checked(), MainMenu::show_awindow, MainSession::show_awindow, BC_WindowBase::show_window(), and BC_WindowBase::unlock_window().
Referenced by ShowAWindow::handle_event().

| void MWindow::show_lwindow | ( | ) |
Definition at line 1437 of file mwindow.C.
References BC_WindowBase::flush(), gui, LevelWindow::gui, BC_WindowBase::lock_window(), lwindow, MWindowGUI::mainmenu, BC_WindowBase::raise_window(), session, BC_MenuItem::set_checked(), MainMenu::show_lwindow, MainSession::show_lwindow, BC_WindowBase::show_window(), and BC_WindowBase::unlock_window().
Referenced by ShowLWindow::handle_event().

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

| void MWindow::show_gwindow | ( | ) |
Definition at line 1424 of file mwindow.C.
References BC_WindowBase::flush(), gui, GWindow::gui, gwindow, BC_WindowBase::lock_window(), MWindowGUI::mainmenu, BC_WindowBase::raise_window(), session, BC_MenuItem::set_checked(), MainMenu::show_gwindow, MainSession::show_gwindow, BC_WindowBase::show_window(), and BC_WindowBase::unlock_window().
Referenced by ShowGWindow::handle_event().

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

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

| int MWindow::asset_to_edl | ( | EDL * | new_edl, | |
| Asset * | new_asset, | |||
| RecordLabels * | labels = 0 | |||
| ) |
Definition at line 1777 of file mwindow.C.
References Asset::audio_data, EDLSession::audio_tracks, BCTEXTLEN, Asset::channels, Tracks::clear(), LocalSession::clip_title, EDL::create_default_tracks(), EDLSession::cursor_on_frames, edl, TimeBar::edl_length, FileSystem::extract_name(), EDLSession::frame_rate, EDL::insert_asset(), Asset::layers, Tracks::loaded_lengths_to_tracklengths(), EDL::local_session, Asset::path, EDL::session, Tracks::total_length(), Tracks::total_length_framealigned(), EDL::tracks, Asset::video_data, and EDLSession::video_tracks.
Referenced by VWindow::change_source(), load_assets(), load_filenames(), and Record::run().

| int MWindow::paste_assets | ( | double | position, | |
| Track * | dest_track, | |||
| int | overwrite | |||
| ) |
Definition at line 1096 of file mwindowedit.C.
References _, MainSession::drag_assets, MainSession::drag_clips, edl, gui, EDLSession::labels_follow_edits, load_assets(), paste_edls(), EDLSession::plugins_follow_edits, restart_brender(), save_backup(), EDL::session, session, sync_parameters(), ArrayList< TYPE >::total, undo, MWindowGUI::update(), and MainUndo::update_undo().
Referenced by TrackCanvas::drag_stop(), and AssetPopup::paste_assets().

| 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 | |||
| ) |
Definition at line 1145 of file mwindowedit.C.
References ArrayList< TYPE >::append(), asset_to_edl(), EDL::copy_session(), EDL::create_objects(), edl, List< TYPE >::first, LocalSession::get_selectionstart(), EDL::labels, EDL::local_session, ListItem< TYPE >::next, paste_edls(), ArrayList< TYPE >::remove_all_objects(), remove_asset_from_caches(), save_backup(), Labels::toggle_label(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by CWindowGUI::drag_stop(), paste_assets(), Render::render(), and MenuEffectThread::run().

| 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 | |||
| ) |
Definition at line 1261 of file mwindowedit.C.
References Tracks::add_audio_track(), EDL::add_clip(), MainIndexes::add_next_asset(), Tracks::add_video_track(), ArrayList< TYPE >::append(), EDL::assets, Track::clear(), Labels::clear(), LocalSession::clipboard_length, EDL::clips, EDL::copy_all(), EDL::copy_session(), EDL::create_objects(), Track::data_type, defaults, Track::draw, edl, EQUIV, List< TYPE >::first, EDLSession::frame_rate, Track::get_length(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), GWindow::gui, gui, gwindow, hide_plugins(), EDLSession::highlighted_track, Labels::insert_labels(), Track::insert_track(), EDL::labels, EDLSession::labels_follow_edits, List< TYPE >::last, EDL::local_session, BC_WindowBase::lock_window(), mainindexes, MWindowGUI::mainmenu, ListItem< TYPE >::next, NEXT, LocalSession::preview_end, Track::record, EDL::resample(), reset_caches(), EDLSession::sample_rate, EDL::save_defaults(), EDL::session, SET_TRACE, MainIndexes::start_build(), List< TYPE >::total(), ArrayList< TYPE >::total, Tracks::total_length(), Tracks::total_playable_length(), TRACK_AUDIO, TRACK_VIDEO, EDL::tracks, BC_WindowBase::unlock_window(), EDL::update_assets(), GWindowGUI::update_toggles(), MainMenu::update_toggles(), ArrayList< TYPE >::values, and EDL::vwindow_edl.
Referenced by CWindowGUI::drag_stop(), insert(), load_assets(), load_filenames(), paste_assets(), and Record::run().

| void MWindow::update_project | ( | int | load_mode | ) |
Definition at line 1856 of file mwindow.C.
References AWindowGUI::async_update_assets(), awindow, VWindow::change_source(), cwindow, edl, BC_WindowBase::flush(), AWindow::gui, CWindow::gui, gui, BC_WindowBase::lock_window(), CWindow::playback_engine, PlaybackEngine::que, restart_brender(), TransportQue::send_command(), CWindowSlider::set_position(), CWindowGUI::slider, theme, CWindowGUI::timebar, EDL::tracks, BC_WindowBase::unlock_window(), TimeBar::update(), VWindow::update(), CWindow::update(), MWindowGUI::update(), Tracks::update_y_pixels(), and vwindow.
Referenced by New::create_new_project(), and load_filenames().

| void MWindow::fit_selection | ( | ) |
Definition at line 132 of file mwindowmove.C.
References MWindowGUI::canvas, edl, EQUIV, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), gui, EDL::local_session, MIN, EDLSession::sample_rate, EDL::session, Tracks::total_length(), EDL::tracks, zoom_sample(), and LocalSession::zoom_sample.
Referenced by EditFit::handle_event().

| void MWindow::fit_autos | ( | int | doall | ) |
Definition at line 161 of file mwindowmove.C.
References Automation::autogrouptypes_fixedrange, LocalSession::automation_maxs, LocalSession::automation_mins, MWindowGUI::canvas, TrackCanvas::draw_overlays(), edl, Thread::end(), EQUIV, BC_WindowBase::flash(), Tracks::get_automation_extents(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, MAX, MIN, min, start(), Tracks::total_length(), EDL::tracks, ZoomBar::update(), MWindowGUI::zoombar, and LocalSession::zoombar_showautotype.
Referenced by EditFitAutos::handle_event(), and EditFitAutos::keypress_event().

| void MWindow::change_currentautorange | ( | int | autogrouptype, | |
| int | increment, | |||
| int | changemax | |||
| ) |
Definition at line 235 of file mwindowmove.C.
References LocalSession::automation_maxs, LocalSession::automation_mins, AUTOMATIONVIEWCLAMPS, edl, and EDL::local_session.
Referenced by ZoomTextBox::button_press_event(), expand_autos(), AutoZoom::handle_down_event(), AutoZoom::handle_up_event(), and shrink_autos().
| void MWindow::expand_autos | ( | int | changeall, | |
| int | domin, | |||
| int | domax | |||
| ) |
Definition at line 297 of file mwindowmove.C.
References MWindowGUI::canvas, change_currentautorange(), TrackCanvas::draw_overlays(), edl, BC_WindowBase::flash(), gui, EDL::local_session, MWindowGUI::patchbay, PatchBay::update(), ZoomBar::update_autozoom(), MWindowGUI::zoombar, and LocalSession::zoombar_showautotype.
Referenced by MWindowGUI::keypress_event().

| void MWindow::shrink_autos | ( | int | changeall, | |
| int | domin, | |||
| int | domax | |||
| ) |
Definition at line 315 of file mwindowmove.C.
References MWindowGUI::canvas, change_currentautorange(), TrackCanvas::draw_overlays(), edl, BC_WindowBase::flash(), gui, EDL::local_session, MWindowGUI::patchbay, PatchBay::update(), ZoomBar::update_autozoom(), MWindowGUI::zoombar, and LocalSession::zoombar_showautotype.
Referenced by MWindowGUI::keypress_event().

| void MWindow::find_cursor | ( | ) |
Definition at line 104 of file mwindowmove.C.
References MWindowGUI::canvas, edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), gui, EDL::local_session, Units::round(), EDLSession::sample_rate, EDL::session, LocalSession::view_start, and LocalSession::zoom_sample.
Referenced by ManualGoto::run(), and zoom_sample().

| void MWindow::create_plugindb | ( | int | do_audio, | |
| int | do_video, | |||
| int | is_realtime, | |||
| int | is_transition, | |||
| int | is_theme, | |||
| ArrayList< PluginServer * > & | plugindb | |||
| ) |
Definition at line 401 of file mwindow.C.
References _, ArrayList< TYPE >::append(), PluginServer::audio, BC_WindowBase::done, PluginServer::realtime, PluginServer::theme, PluginServer::title, ArrayList< TYPE >::total, PluginServer::transition, ArrayList< TYPE >::values, and PluginServer::video.
Referenced by PluginDialog::create_objects(), ViewTheme::create_objects(), AWindowGUI::create_persistent_folder(), and MenuEffectThread::run().

| PluginServer * MWindow::scan_plugindb | ( | char * | title, | |
| int | data_type | |||
| ) |
Definition at line 441 of file mwindow.C.
References PluginServer::audio, plugindb, PluginServer::title, ArrayList< TYPE >::total, TRACK_AUDIO, TRACK_VIDEO, ArrayList< TYPE >::values, and PluginServer::video.
Referenced by TrackCanvas::do_plugins(), TrackCanvas::draw_transitions(), insert_effect(), paste_audio_transition(), paste_video_transition(), PluginArray::scan_plugindb(), and show_plugin().
| void MWindow::dump_plugins | ( | ) |
Definition at line 2049 of file mwindow.C.
References PluginServer::audio, plugindb, PluginServer::realtime, PluginServer::theme, PluginServer::title, ArrayList< TYPE >::total, PluginServer::transition, ArrayList< TYPE >::values, and PluginServer::video.
Referenced by DumpPlugins::handle_event().
| 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().

| void MWindow::test_plugins | ( | EDL * | new_edl, | |
| char * | path | |||
| ) |
Definition at line 1161 of file mwindow.C.
References PluginServer::audio, BCTEXTLEN, List< TYPE >::first, ListItem< TYPE >::next, plugindb, MainError::show_error(), PluginServer::title, ArrayList< TYPE >::total, TRACK_AUDIO, TRACK_VIDEO, EDL::tracks, PluginServer::transition, ArrayList< TYPE >::values, and PluginServer::video.
Referenced by load_filenames().

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

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

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

| void MWindow::time_format_common | ( | ) |
Definition at line 2172 of file mwindow.C.
References _, BCTEXTLEN, edl, BC_WindowBase::flush(), gui, BC_WindowBase::lock_window(), Units::print_time_format(), MWindowGUI::redraw_time_dependancies(), EDL::session, MWindowGUI::show_message(), EDLSession::time_format, and BC_WindowBase::unlock_window().
Referenced by next_time_format(), and prev_time_format().

| int MWindow::reposition_timebar | ( | int | new_pixel, | |
| int | new_height | |||
| ) |
| int MWindow::expand_sample | ( | double | fixed_sample = -1 |
) |
Definition at line 33 of file mwindowmove.C.
References edl, gui, EDL::local_session, Units::round(), EDLSession::sample_rate, EDL::session, LocalSession::view_start, zoom_sample(), and LocalSession::zoom_sample.
Referenced by TrackCanvas::button_press_event(), and MWindowGUI::keypress_event().

| int MWindow::zoom_in_sample | ( | double | fixed_sample = -1 |
) |
Definition at line 59 of file mwindowmove.C.
References edl, gui, EDL::local_session, Units::round(), EDLSession::sample_rate, EDL::session, LocalSession::view_start, zoom_sample(), and LocalSession::zoom_sample.
Referenced by TrackCanvas::button_press_event(), and MWindowGUI::keypress_event().

| int MWindow::zoom_sample | ( | int64_t | zoom_sample, | |
| int64_t | view_start = -1 | |||
| ) |
Definition at line 87 of file mwindowmove.C.
References CLIP, edl, find_cursor(), MWindowGUI::get_scrollbars(), gui, EDL::local_session, ZoomBar::sample_zoom, samplemovement(), MWindowGUI::samplescroll, ZoomPanel::update(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by expand_sample(), fit_selection(), VTrack::get_dimensions(), SampleZoomPanel::handle_event(), and zoom_in_sample().

| void MWindow::zoom_amp | ( | int64_t | zoom_amp | ) |
Definition at line 334 of file mwindowmove.C.
References MWindowGUI::canvas, TrackCanvas::draw(), edl, BC_WindowBase::flash(), BC_WindowBase::flush(), gui, EDL::local_session, MWindowGUI::patchbay, PatchBay::update(), and LocalSession::zoom_y.
Referenced by expand_y(), AmpZoomPanel::handle_event(), and zoom_in_y().

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

| int MWindow::fit_sample | ( | ) |
| int MWindow::move_left | ( | int64_t | distance = 0 |
) |
Definition at line 465 of file mwindowmove.C.
References MWindowGUI::canvas, edl, BC_WindowBase::get_w(), gui, EDL::local_session, samplemovement(), and LocalSession::view_start.
Referenced by TrackCanvas::button_press_event(), MWindowGUI::keypress_event(), CWindowGUI::keypress_event(), and CTracking::update_scroll().

| int MWindow::move_right | ( | int64_t | distance = 0 |
) |
Definition at line 476 of file mwindowmove.C.
References MWindowGUI::canvas, edl, BC_WindowBase::get_w(), gui, EDL::local_session, samplemovement(), and LocalSession::view_start.
Referenced by TrackCanvas::button_press_event(), MWindowGUI::keypress_event(), CWindowGUI::keypress_event(), and CTracking::update_scroll().

| void MWindow::move_up | ( | int64_t | distance = 0 |
) |
Definition at line 366 of file mwindowmove.C.
References edl, gui, EDL::local_session, LocalSession::track_start, trackmovement(), MWindowGUI::trackscroll, and LocalSession::zoom_track.
Referenced by TrackCanvas::button_press_event(), and MWindowGUI::keypress_event().

| void MWindow::move_down | ( | int64_t | distance = 0 |
) |
Definition at line 374 of file mwindowmove.C.
References edl, gui, EDL::local_session, LocalSession::track_start, trackmovement(), MWindowGUI::trackscroll, and LocalSession::zoom_track.
Referenced by TrackCanvas::button_press_event(), and MWindowGUI::keypress_event().

| int MWindow::next_label | ( | int | shift_down | ) |
Definition at line 495 of file mwindowmove.C.
References MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), edl, BC_WindowBase::flash(), BC_WindowBase::flush(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), goto_end(), gui, MainCursor::hide(), EDL::labels, EDL::local_session, Labels::next_label(), MWindowGUI::patchbay, Label::position, EDLSession::sample_rate, samplemovement(), EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), TrackCanvas::time_visible(), MWindowGUI::timebar, CWindow::update(), ZoomBar::update(), TimeBar::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by NextLabel::handle_event(), and EditPanel::next_label().

| int MWindow::prev_label | ( | int | shift_down | ) |
Definition at line 543 of file mwindowmove.C.
References MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), edl, BC_WindowBase::flash(), BC_WindowBase::flush(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), goto_start(), gui, MainCursor::hide(), EDL::labels, EDL::local_session, MWindowGUI::patchbay, Label::position, Labels::prev_label(), EDLSession::sample_rate, samplemovement(), EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), TrackCanvas::time_visible(), MWindowGUI::timebar, CWindow::update(), ZoomBar::update(), TimeBar::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by PrevLabel::handle_event(), and EditPanel::prev_label().

| int MWindow::next_edit_handle | ( | int | shift_down | ) |
Definition at line 596 of file mwindowmove.C.
References MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), edl, List< TYPE >::first, Units::fix_double(), BC_WindowBase::flash(), BC_WindowBase::flush(), LocalSession::get_selectionend(), BC_WindowBase::get_w(), goto_end(), gui, MainCursor::hide(), EDL::local_session, ListItem< TYPE >::next, MWindowGUI::patchbay, EDLSession::sample_rate, samplemovement(), EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), TrackCanvas::time_visible(), MWindowGUI::timebar, EDL::tracks, CWindow::update(), ZoomBar::update(), TimeBar::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by MWindowGUI::keypress_event(), and CWindowGUI::keypress_event().

| int MWindow::prev_edit_handle | ( | int | shift_down | ) |
Definition at line 660 of file mwindowmove.C.
References MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), edl, List< TYPE >::first, Units::fix_double(), BC_WindowBase::flash(), BC_WindowBase::flush(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), goto_start(), gui, MainCursor::hide(), EDL::local_session, ListItem< TYPE >::next, MWindowGUI::patchbay, EDLSession::sample_rate, samplemovement(), EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), TrackCanvas::time_visible(), MWindowGUI::timebar, EDL::tracks, CWindow::update(), ZoomBar::update(), TimeBar::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by MWindowGUI::keypress_event(), and CWindowGUI::keypress_event().

| void MWindow::trackmovement | ( | int | track_start | ) |
Definition at line 354 of file mwindowmove.C.
References MWindowGUI::canvas, TrackCanvas::draw(), edl, BC_WindowBase::flash(), BC_WindowBase::flush(), MWindowGUI::get_scrollbars(), gui, EDL::local_session, MWindowGUI::patchbay, theme, LocalSession::track_start, EDL::tracks, PatchBay::update(), and Tracks::update_y_pixels().
Referenced by ExpandPatch::button_press_event(), PatchBay::cursor_motion_event(), move_down(), move_up(), TrackCanvas::repeat_event(), set_titles(), and zoom_track().

| int MWindow::samplemovement | ( | int64_t | view_start | ) |
Definition at line 451 of file mwindowmove.C.
References MWindowGUI::canvas, MWindowGUI::cursor, TrackCanvas::draw(), edl, BC_WindowBase::flash(), gui, EDL::local_session, MWindowGUI::samplescroll, SampleScroll::set_position(), MainCursor::show(), MWindowGUI::timebar, ZoomBar::update(), TimeBar::update(), LocalSession::view_start, and MWindowGUI::zoombar.
Referenced by goto_end(), goto_start(), move_left(), move_right(), next_edit_handle(), next_label(), prev_edit_handle(), prev_label(), TrackCanvas::repeat_event(), TimeBar::repeat_event(), and zoom_sample().

| void MWindow::select_all | ( | ) |
Definition at line 486 of file mwindowmove.C.
References TrackCanvas::activate(), MWindowGUI::canvas, cwindow, edl, gui, EDL::local_session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), Tracks::total_length(), EDL::tracks, CWindow::update(), and MWindowGUI::update().
Referenced by SelectAll::handle_event().

| int MWindow::goto_start | ( | ) |
Definition at line 424 of file mwindowmove.C.
References TrackCanvas::activate(), MWindowGUI::canvas, MWindowGUI::cursor, cwindow, edl, gui, EDL::local_session, MWindowGUI::patchbay, samplemovement(), LocalSession::set_selectionend(), LocalSession::set_selectionstart(), BC_WindowBase::shift_down(), CWindow::update(), ZoomBar::update(), MainCursor::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, and MWindowGUI::zoombar.
Referenced by MainTransport::goto_start(), CWindowTransport::goto_start(), prev_edit_handle(), and prev_label().

| int MWindow::goto_end | ( | ) |
Definition at line 382 of file mwindowmove.C.
References TrackCanvas::activate(), MWindowGUI::canvas, MWindowGUI::cursor, cwindow, edl, BC_WindowBase::get_w(), gui, EDL::local_session, MWindowGUI::patchbay, Units::round(), EDLSession::sample_rate, samplemovement(), EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), BC_WindowBase::shift_down(), Tracks::total_length(), EDL::tracks, CWindow::update(), ZoomBar::update(), MainCursor::update(), PatchBay::update(), update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by MainTransport::goto_end(), CWindowTransport::goto_end(), next_edit_handle(), and next_label().

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