#include <mwindowgui.h>
Inherits BC_Window.

Definition at line 23 of file mwindowgui.h.
| MWindowGUI::MWindowGUI | ( | MWindow * | mwindow | ) |
Definition at line 38 of file mwindowgui.C.
References canvas, cursor, samplescroll, and trackscroll.
| MWindowGUI::~MWindowGUI | ( | ) |
Definition at line 58 of file mwindowgui.C.
References cursor, edit_menu, keyframe_menu, mainclock, mbuttons, patchbay, plugin_menu, samplescroll, statusbar, timebar, trackscroll, transition_menu, and zoombar.
| int MWindowGUI::create_objects | ( | ) |
Definition at line 169 of file mwindowgui.C.
References TrackCanvas::activate(), BC_WindowBase::add_subwindow(), canvas, TransitionPopup::create_objects(), KeyframePopup::create_objects(), PluginPopup::create_objects(), EditPopup::create_objects(), StatusBar::create_objects(), ZoomBar::create_objects(), TrackCanvas::create_objects(), PatchBay::create_objects(), TimeBar::create_objects(), MButtons::create_objects(), MainMenu::create_objects(), cursor, Theme::draw_mwindow_bg(), edit_menu, MWindow::edl, EDLSession::frame_rate, EDLSession::get_frame_offset(), BC_WindowBase::get_h(), BC_Theme::get_image(), Theme::get_mwindow_sizes(), get_scrollbars(), BC_WindowBase::get_w(), MWindow::gui, keyframe_menu, mainclock, mainmenu, mbuttons, Theme::mclock_w, Theme::mclock_x, Theme::mclock_y, Theme::mtimebar_h, Theme::mtimebar_w, Theme::mtimebar_x, Theme::mtimebar_y, mwindow, patchbay, plugin_menu, EDL::session, MainClock::set_frame_offset(), BC_WindowBase::set_icon(), SET_TRACE, statusbar, MWindow::theme, timebar, transition_menu, MainClock::update(), and zoombar.
Referenced by MWindow::init_gui().

| void MWindowGUI::get_scrollbars | ( | ) |
Definition at line 75 of file mwindowgui.C.
References BC_WindowBase::add_subwindow(), canvas, MWindow::edl, BC_WindowBase::get_h(), EDL::get_tracks_height(), EDL::get_tracks_width(), BC_WindowBase::get_w(), EDL::local_session, Theme::mcanvas_h, Theme::mcanvas_w, Theme::mcanvas_x, Theme::mcanvas_y, Theme::mhscroll_w, Theme::mhscroll_x, Theme::mhscroll_y, Theme::mvscroll_h, Theme::mvscroll_x, Theme::mvscroll_y, mwindow, BC_WindowBase::reposition_window(), TrackScroll::resize_event(), SampleScroll::resize_event(), samplescroll, SampleScroll::set_position(), MWindow::theme, LocalSession::track_start, trackscroll, BC_ScrollBar::update_length(), view_h, LocalSession::view_start, and view_w.
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), create_objects(), TrackCanvas::drag_stop(), resize_event(), MWindow::trackmovement(), update(), and MWindow::zoom_sample().

| void MWindowGUI::redraw_time_dependancies | ( | ) |
Definition at line 265 of file mwindowgui.C.
References MWindow::edl, LocalSession::get_selectionstart(), EDL::local_session, mainclock, mwindow, ZoomBar::redraw_time_dependancies(), timebar, MainClock::update(), TimeBar::update(), and zoombar.
Referenced by PreferencesThread::apply_settings(), and MWindow::time_format_common().

| int MWindowGUI::focus_in_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 272 of file mwindowgui.C.
References cursor, and MainCursor::focus_in_event().

| int MWindowGUI::focus_out_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 278 of file mwindowgui.C.
References cursor, and MainCursor::focus_out_event().

| void MWindowGUI::update | ( | int | scrollbars, | |
| int | canvas, | |||
| int | timebar, | |||
| int | zoombar, | |||
| int | patchbay, | |||
| int | clock, | |||
| int | buttonbar | |||
| ) |
Definition at line 304 of file mwindowgui.C.
References MWindow::age_caches(), cursor, MWindow::edl, get_scrollbars(), LocalSession::get_selectionstart(), EDL::local_session, mainclock, mbuttons, mwindow, MainCursor::show(), MWindow::theme, EDL::tracks, MButtons::update(), MainClock::update(), and Tracks::update_y_pixels().
Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), MWindow::asset_to_rate(), MWindow::clear_entry(), MWindow::concatenate_tracks(), MWindow::cut(), MWindow::delete_track(), MWindow::delete_tracks(), MWindow::detach_transition(), ResourceThread::do_audio(), ResourceThread::do_video(), CWindowGUI::drag_stop(), MWindow::finish_modify_handles(), ShowTitles::handle_event(), ShowAssets::handle_event(), TransitionLengthText::handle_event(), PluginPopupOn::handle_event(), PluginPopupDetach::handle_event(), KeyframePopupDelete::handle_event(), GWindowToggle::handle_event(), MWindow::hide_plugin(), MWindow::insert_effects_cwindow(), keypress_event(), MWindow::map_audio(), MWindow::move_edits(), MWindow::move_effect(), MWindow::move_plugins_down(), MWindow::move_plugins_up(), MWindow::move_track_down(), MWindow::move_track_up(), MWindow::move_tracks_down(), MWindow::move_tracks_up(), MWindow::mute_selection(), MWindow::overwrite(), MWindow::paste(), MWindow::paste_assets(), MWindow::paste_audio_transition(), MWindow::paste_silence(), MWindow::paste_transition_cwindow(), MWindow::paste_video_transition(), MWindow::redo_entry(), MWindow::remove_assets_from_project(), Render::render(), Record::run(), PluginDialogThread::run(), MenuEffectThread::run(), ManualGoto::run(), AssetEdit::run(), MWindow::select_all(), CTimeBar::select_label(), MWindow::splice(), PatchGUI::toggle_behavior(), MWindow::trim_selection(), MWindow::undo_entry(), KeyframePopup::update(), and MWindow::update_project().

| void MWindowGUI::update_title | ( | char * | path | ) |
Definition at line 254 of file mwindowgui.C.
References BCTEXTLEN, FileSystem::extract_name(), BC_WindowBase::flush(), and BC_WindowBase::set_title().

| int MWindowGUI::translation_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 447 of file mwindowgui.C.
References BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, MainSession::mwindow_x, MainSession::mwindow_y, and MWindow::session.

| int MWindowGUI::resize_event | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 285 of file mwindowgui.C.
References canvas, Theme::draw_mwindow_bg(), BC_WindowBase::flash(), BC_WindowBase::get_h(), Theme::get_mwindow_sizes(), get_scrollbars(), mainmenu, mbuttons, mwindow, MainSession::mwindow_h, MainSession::mwindow_w, patchbay, BC_WindowBase::reposition_window(), TrackCanvas::resize_event(), ZoomBar::resize_event(), PatchBay::resize_event(), MTimeBar::resize_event(), StatusBar::resize_event(), MButtons::resize_event(), MWindow::session, statusbar, MWindow::theme, timebar, and zoombar.
Referenced by default_positions().

| int MWindowGUI::keypress_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 464 of file mwindowgui.C.
References BC_WindowBase::alt_down(), canvas, BC_WindowBase::ctrl_down(), BC_WindowBase::cursor_motion_event(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, MWindow::cwindow, DOWN, MWindow::edl, MWindow::expand_autos(), MWindow::expand_sample(), MWindow::expand_t(), MWindow::expand_y(), List< TYPE >::first, BC_WindowBase::get_keypress(), BC_WindowBase::get_relative_cursor_x(), BC_WindowBase::get_relative_cursor_y(), PlayTransport::handle_transport(), MButtons::keypress_event(), LEFT, LEFTTAB, BC_WindowBase::lock_window(), mbuttons, MWindow::move_down(), MWindow::move_left(), MWindow::move_right(), MWindow::move_up(), mwindow, ListItem< TYPE >::next, MWindow::next_edit_handle(), PGDN, PGUP, MWindow::prev_edit_handle(), Track::record, Tracks::RECORD, RIGHT, Tracks::select_all(), BC_WindowBase::shift_down(), MWindow::shrink_autos(), STOP, TAB, MWindow::toggle_editing_mode(), Tracks::total_of(), TrackCanvas::track_dimensions(), EDL::tracks, MButtons::transport, BC_WindowBase::unlock_window(), UP, CWindow::update(), update(), MWindow::zoom_in_sample(), MWindow::zoom_in_t(), and MWindow::zoom_in_y().

| int MWindowGUI::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 689 of file mwindowgui.C.
References mainmenu, and MainMenu::quit().

| int MWindowGUI::quit | ( | ) |
| int MWindowGUI::save_defaults | ( | BC_Hash * | defaults | ) |
Reimplemented from BC_WindowBase.
Definition at line 456 of file mwindowgui.C.
References BC_WindowBase::get_h(), BC_WindowBase::get_w(), mainmenu, BC_WindowBase::save_defaults(), MainMenu::save_defaults(), and BC_Hash::update().
Referenced by MWindow::save_defaults().

| int MWindowGUI::menu_h | ( | ) |
Definition at line 694 of file mwindowgui.C.
References BC_WindowBase::get_h(), and mainmenu.

| int MWindowGUI::show_message | ( | char * | message, | |
| int | color = -1 | |||
| ) |
Definition at line 343 of file mwindowgui.C.
References Theme::message_normal, mwindow, BC_Title::set_color(), StatusBar::status_text, statusbar, MWindow::theme, and BC_Title::update().
Referenced by Save::handle_event(), SaveBackup::handle_event(), SaveSettingsNow::handle_event(), MWindow::load_filenames(), MWindow::paste_audio_transition(), MWindow::paste_video_transition(), Render::render(), SaveAs::run(), PluginArray::run_plugins(), MWindow::save_backup(), Render::stop_progress(), MWindow::time_format_common(), TrackCanvas::update_drag_auto(), TrackCanvas::update_drag_floatauto(), TrackCanvas::update_drag_pluginauto(), TrackCanvas::update_drag_toggleauto(), and MainProgressBar::update_title().

| void MWindowGUI::show_error | ( | char * | message, | |
| int | color = BLACK | |||
| ) |
| int MWindowGUI::repeat_event | ( | int64_t | duration | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 439 of file mwindowgui.C.
References cursor, and MainCursor::repeat_event().

| int MWindowGUI::drag_motion | ( | ) |
Definition at line 353 of file mwindowgui.C.
References canvas, TrackCanvas::drag_motion(), and BC_WindowBase::get_hidden().
Referenced by AWindowAssets::drag_motion_event().

| int MWindowGUI::drag_stop | ( | ) |
Definition at line 361 of file mwindowgui.C.
References canvas, TrackCanvas::drag_stop(), and BC_WindowBase::get_hidden().
Referenced by AWindowAssets::drag_stop_event().

| void MWindowGUI::default_positions | ( | ) |
Definition at line 369 of file mwindowgui.C.
References MWindow::awindow, MainSession::awindow_h, MainSession::awindow_w, MainSession::awindow_x, MainSession::awindow_y, MWindow::cwindow, MainSession::cwindow_h, MainSession::cwindow_w, MainSession::cwindow_x, MainSession::cwindow_y, BC_WindowBase::flush(), AWindow::gui, CWindow::gui, VWindow::gui, BC_WindowBase::lock_window(), mwindow, MainSession::mwindow_h, MainSession::mwindow_w, MainSession::mwindow_x, MainSession::mwindow_y, BC_WindowBase::reposition_window(), AWindowGUI::resize_event(), CWindowGUI::resize_event(), VWindowGUI::resize_event(), resize_event(), MWindow::session, BC_WindowBase::unlock_window(), MWindow::vwindow, MainSession::vwindow_h, MainSession::vwindow_w, MainSession::vwindow_x, and MainSession::vwindow_y.
Referenced by MWindow::tile_windows().

| int MWindowGUI::visible | ( | int64_t | x1, | |
| int64_t | x2, | |||
| int64_t | view_x1, | |||
| int64_t | view_x2 | |||
| ) | [static] |
Definition at line 335 of file mwindowgui.C.
Referenced by TrackCanvas::do_plugins(), TrackCanvas::do_transitions(), TrackCanvas::draw_brender_start(), TrackCanvas::draw_highlighting(), TrackCanvas::draw_loop_points(), TrackCanvas::draw_plugins(), TrackCanvas::draw_resources(), TrackCanvas::draw_transitions(), and CanvasTools::visible().
Definition at line 72 of file mwindowgui.h.
Referenced by create_objects(), default_positions(), get_scrollbars(), keypress_event(), redraw_time_dependancies(), resize_event(), show_message(), translation_event(), and update().
Definition at line 75 of file mwindowgui.h.
Referenced by create_objects(), TrackCanvas::do_tracks(), and ~MWindowGUI().
Definition at line 76 of file mwindowgui.h.
Referenced by create_objects(), TrackCanvas::do_plugins(), and ~MWindowGUI().
Definition at line 77 of file mwindowgui.h.
Referenced by create_objects(), TrackCanvas::do_keyframes(), and ~MWindowGUI().
Definition at line 78 of file mwindowgui.h.
Referenced by create_objects(), TrackCanvas::do_transitions(), and ~MWindowGUI().
Definition at line 80 of file mwindowgui.h.
Referenced by create_objects(), TrackCanvas::cursor_motion_event(), redraw_time_dependancies(), MWindow::select_point(), update(), TrackCanvas::update_drag_handle(), CTracking::update_tracker(), and ~MWindowGUI().
Definition at line 81 of file mwindowgui.h.
Referenced by TrackCanvas::button_press_event(), create_objects(), keypress_event(), CWindowGUI::keypress_event(), EditPanel::next_label(), ManualGoto::open_window(), EditPanel::prev_label(), resize_event(), ManualGoto::run(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::set_auto_keyframes(), MWindow::set_editing_mode(), MWindow::set_labels_follow_edits(), MTimeBar::stop_playback(), update(), and ~MWindowGUI().
Definition at line 82 of file mwindowgui.h.
Referenced by TrackCanvas::button_press_event(), MWindow::clear_labels(), create_objects(), SampleScroll::handle_event(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::prev_edit_handle(), MWindow::prev_label(), redraw_time_dependancies(), resize_event(), MWindow::samplemovement(), MWindow::set_inpoint(), MWindow::set_outpoint(), ZoomBar::set_selection(), BRender::set_video_map(), MWindow::toggle_label(), and ~MWindowGUI().
Definition at line 83 of file mwindowgui.h.
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), PreferencesThread::apply_settings(), ZoomTextBox::button_press_event(), TrackCanvas::button_press_event(), MWindow::clear_automation(), MWindow::clear_default_keyframe(), create_objects(), MWindow::create_objects(), TrackCanvas::cursor_motion_event(), MWindow::cut_automation(), MWindow::cut_default_keyframe(), TrackCanvas::drag_motion(), TrackCanvas::drag_stop(), MWindow::expand_autos(), MWindow::goto_end(), MWindow::goto_start(), AutoZoom::handle_down_event(), ZoomTextBox::handle_event(), TrackScroll::handle_event(), SampleScroll::handle_event(), AutoZoom::handle_up_event(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::prev_edit_handle(), MWindow::prev_label(), TrackCanvas::repeat_event(), MWindow::reset_meters(), resize_event(), MTimeBar::select_label(), MWindow::select_point(), MWindow::shrink_autos(), Tracking::stop_meters(), MWindow::straighten_automation(), MWindow::trackmovement(), Tracking::update_meters(), CTracking::update_tracker(), MWindow::zoom_amp(), and ~MWindowGUI().
Definition at line 84 of file mwindowgui.h.
Referenced by VWindowGUI::close_event(), close_event(), LevelWindowGUI::close_event(), GWindowGUI::close_event(), AWindowGUI::close_event(), create_objects(), MWindow::create_objects(), MenuVEffectThread::fix_menu(), MenuAEffectThread::fix_menu(), SUV::get_mwindow_sizes(), MicroTheme::get_mwindow_sizes(), BlondTheme::get_mwindow_sizes(), BlueDotTheme::get_mwindow_sizes(), Quit::handle_event(), LoadPrevious::handle_event(), VideoWindow::hide_window(), CWindow::hide_window(), main(), menu_h(), MWindow::paste_edls(), MainUndo::push_undo_item(), MainUndo::redo(), resize_event(), Quit::run(), LoadFileThread::run(), save_defaults(), MWindow::set_labels_follow_edits(), MWindow::show_awindow(), MWindow::show_cwindow(), MWindow::show_gwindow(), MWindow::show_lwindow(), MWindow::show_vwindow(), VideoWindow::show_window(), MainUndo::undo(), and GWindowGUI::update_mwindow().
Definition at line 85 of file mwindowgui.h.
Referenced by ZoomTextBox::button_press_event(), TrackCanvas::button_press_event(), create_objects(), TrackCanvas::cursor_motion_event(), MWindow::expand_autos(), MWindow::expand_t(), MWindow::expand_y(), MWindow::fit_autos(), MWindow::goto_end(), MWindow::goto_start(), AutoZoom::handle_down_event(), ZoomTextBox::handle_event(), AutoZoom::handle_up_event(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::prev_edit_handle(), MWindow::prev_label(), redraw_time_dependancies(), resize_event(), MWindow::samplemovement(), MTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), MWindow::shrink_autos(), CTracking::update_tracker(), MWindow::zoom_in_t(), MWindow::zoom_in_y(), MWindow::zoom_sample(), and ~MWindowGUI().
Definition at line 86 of file mwindowgui.h.
Referenced by get_scrollbars(), MWindowGUI(), MWindow::samplemovement(), MWindow::zoom_sample(), and ~MWindowGUI().
Definition at line 87 of file mwindowgui.h.
Referenced by create_objects(), MWindow::load_filenames(), resize_event(), show_message(), MainProgress::start_progress(), MainProgressBar::stop_progress(), and ~MWindowGUI().
Definition at line 88 of file mwindowgui.h.
Referenced by get_scrollbars(), MWindow::move_down(), MWindow::move_up(), MWindowGUI(), and ~MWindowGUI().
Definition at line 89 of file mwindowgui.h.
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), PreferencesThread::apply_settings(), ZoomTextBox::button_press_event(), TimeBar::button_press_event(), MutePatch::button_press_event(), TimeBar::button_release_event(), CWindow::calculate_affected_auto(), MWindow::clear_automation(), MWindow::clear_default_keyframe(), create_objects(), MWindow::create_objects(), TimeBar::cursor_motion_event(), PatchBay::cursor_motion_event(), CWindowCanvas::cursor_motion_event(), MWindow::cut_automation(), MWindow::cut_default_keyframe(), ResourceThread::do_audio(), ResourceThread::do_video(), drag_motion(), drag_stop(), Tracking::draw(), MainCursor::draw(), MWindow::expand_autos(), MWindow::find_cursor(), MWindow::fit_autos(), MWindow::fit_selection(), MainCursor::flash(), get_scrollbars(), MWindow::goto_end(), MWindow::goto_start(), AutoZoom::handle_down_event(), ZoomTextBox::handle_event(), VModePatch::handle_event(), VFadePatch::handle_event(), PluginAutomation::handle_event(), ShowAutomation::handle_event(), ShowTransitions::handle_event(), TrackScroll::handle_event(), SampleScroll::handle_event(), TitlePatch::handle_event(), GWindowToggle::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraGUI::handle_event(), APanPatch::handle_event(), AFadePatch::handle_event(), AutoZoom::handle_up_event(), CPlayback::init_cursor(), keypress_event(), MWindow::move_left(), MWindow::move_right(), MWindowGUI(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::prev_edit_handle(), MWindow::prev_label(), IndexFile::redraw_edits(), TimeBar::repeat_event(), resize_event(), MWindow::samplemovement(), MWindow::select_all(), MTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), MWindow::set_brender_start(), MWindow::set_editing_mode(), SampleScroll::set_position(), ZoomBar::set_selection(), MWindow::shrink_autos(), MWindow::straighten_automation(), PluginServer::sync_parameters(), ZoomPanel::text_to_zoom(), MWindow::toggle_label(), MWindow::toggle_loop_playback(), MWindow::trackmovement(), MainCursor::update(), CTracking::update_scroll(), CTracking::update_tracker(), ZoomPanel::value_to_text(), and MWindow::zoom_amp().
Definition at line 91 of file mwindowgui.h.
Referenced by TrackCanvas::activate(), MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), TrackCanvas::button_press_event(), create_objects(), MWindow::create_objects(), TrackCanvas::cursor_motion_event(), TrackCanvas::deactivate(), TrackCanvas::drag_stop(), TrackCanvas::draw(), TrackCanvas::draw_overlays(), focus_in_event(), focus_out_event(), MWindow::goto_end(), MWindow::goto_start(), TrackScroll::handle_event(), SampleScroll::handle_event(), MWindowGUI(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::prev_edit_handle(), MWindow::prev_label(), repeat_event(), MWindow::samplemovement(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), ZoomBar::set_selection(), CTracking::start_playback(), CTracking::stop_playback(), update(), CTracking::update_tracker(), and ~MWindowGUI().
1.5.5