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