#include <cwindow.h>
Inherits Thread.

Public Member Functions | |
| CWindow (MWindow *mwindow) | |
| ~CWindow () | |
| int | create_objects () |
| void | update (int position, int overlays, int tool_window, int operation=0, int timebar=0) |
| void | run () |
| Track * | calculate_affected_track () |
| Auto * | calculate_affected_auto (Autos *autos, int create=1, int *created=0, int redraw=1) |
| void | calculate_affected_autos (FloatAuto **x_auto, FloatAuto **y_auto, FloatAuto **z_auto, Track *track, int use_camera, int create_x, int create_y, int create_z) |
| void | show_window () |
| void | hide_window () |
Data Fields | |
| int | destination |
| MWindow * | mwindow |
| CWindowGUI * | gui |
| CTracking * | playback_cursor |
| CPlayback * | playback_engine |
Definition at line 14 of file cwindow.h.
| CWindow::~CWindow | ( | ) |
| int CWindow::create_objects | ( | ) |
Definition at line 45 of file cwindow.C.
References CWindowGUI::canvas, Tracking::create_objects(), PlaybackEngine::create_objects(), CWindowGUI::create_objects(), MWindow::defaults, destination, BC_Hash::get(), gui, mwindow, playback_cursor, playback_engine, PlayTransport::set_engine(), and CWindowGUI::transport.
Referenced by MWindow::init_compositor().

| void CWindow::update | ( | int | position, | |
| int | overlays, | |||
| int | tool_window, | |||
| int | operation = 0, |
|||
| int | timebar = 0 | |||
| ) |
Definition at line 189 of file cwindow.C.
References AUTO_ZOOM, CWindowGUI::canvas, Theme::ccanvas_h, Theme::ccanvas_w, Theme::ccanvas_x, Theme::ccanvas_y, EDLSession::cwindow_operation, EDLSession::cwindow_scrollbars, EDLSession::cwindow_xscroll, EDLSession::cwindow_yscroll, EDLSession::cwindow_zoom, CWindowCanvas::draw_refresh(), MWindow::edl, gui, BC_WindowBase::lock_window(), mwindow, playback_engine, PlaybackEngine::que, Canvas::reposition_window(), TransportQue::send_command(), EDL::session, CWindowGUI::set_operation(), CWindowSlider::set_position(), CWindowGUI::slider, MWindow::theme, CWindowGUI::timebar, BC_WindowBase::unlock_window(), ZoomPanel::update(), TimeBar::update(), CWindowGUI::update_tool(), CWindowCanvas::update_zoom(), and CWindowGUI::zoom_panel.
Referenced by TrackCanvas::button_press_event(), MWindow::clear_automation(), MWindow::clear_default_keyframe(), MWindow::clear_entry(), MWindow::clear_labels(), TrackCanvas::cursor_motion_event(), MWindow::cut_automation(), MWindow::cut_default_keyframe(), MWindow::finish_modify_handles(), MWindow::goto_end(), MWindow::goto_start(), MWindowGUI::keypress_event(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::paste_silence(), MWindow::prev_edit_handle(), MWindow::prev_label(), MWindow::redo_entry(), TrackCanvas::repeat_event(), ManualGoto::run(), MWindow::select_all(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), MWindow::straighten_automation(), PatchGUI::toggle_behavior(), MWindow::undo_entry(), and MWindow::update_project().

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

| Track * CWindow::calculate_affected_track | ( | ) |
Definition at line 92 of file cwindow.C.
References MWindow::edl, List< TYPE >::first, mwindow, ListItem< TYPE >::next, TRACK_VIDEO, and EDL::tracks.
Referenced by CWindowMaskGUI::create_objects(), CWindowProjectorGUI::create_objects(), CWindowCameraGUI::create_objects(), CWindowCanvas::do_mask(), CWindowGUI::drag_stop(), CWindowCanvas::draw_bezier(), CWindowMaskGUI::get_keyframe(), CWindowMaskDelete::handle_event(), CWindowProjectorBottom::handle_event(), CWindowProjectorMiddle::handle_event(), CWindowProjectorTop::handle_event(), CWindowProjectorRight::handle_event(), CWindowProjectorCenter::handle_event(), CWindowProjectorLeft::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraBottom::handle_event(), CWindowCameraMiddle::handle_event(), CWindowCameraTop::handle_event(), CWindowCameraRight::handle_event(), CWindowCameraCenter::handle_event(), CWindowCameraLeft::handle_event(), CWindowCameraGUI::handle_event(), CWindowCanvas::reset_keyframe(), CWindowCanvas::test_bezier(), CWindowProjectorGUI::update(), and CWindowCameraGUI::update().
| Auto * CWindow::calculate_affected_auto | ( | Autos * | autos, | |
| int | create = 1, |
|||
| int * | created = 0, |
|||
| int | redraw = 1 | |||
| ) |
Definition at line 109 of file cwindow.C.
References MWindowGUI::canvas, TrackCanvas::draw_overlays(), BC_WindowBase::flash(), Autos::get_auto_for_editing(), Autos::get_prev_auto(), MWindow::gui, BC_WindowBase::lock_window(), mwindow, List< TYPE >::total(), and BC_WindowBase::unlock_window().
Referenced by calculate_affected_autos(), CWindowMaskGUI::create_objects(), CWindowCanvas::do_mask(), CWindowMaskGUI::get_keyframe(), CWindowProjectorMiddle::handle_event(), CWindowProjectorCenter::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraMiddle::handle_event(), CWindowCameraCenter::handle_event(), CWindowCameraGUI::handle_event(), and CWindowCanvas::test_bezier().

| void CWindow::calculate_affected_autos | ( | FloatAuto ** | x_auto, | |
| FloatAuto ** | y_auto, | |||
| FloatAuto ** | z_auto, | |||
| Track * | track, | |||
| int | use_camera, | |||
| int | create_x, | |||
| int | create_y, | |||
| int | create_z | |||
| ) |
Definition at line 145 of file cwindow.C.
References Track::automation, Automation::autos, and calculate_affected_auto().
Referenced by CWindowProjectorGUI::create_objects(), CWindowCameraGUI::create_objects(), CWindowProjectorBottom::handle_event(), CWindowProjectorTop::handle_event(), CWindowProjectorRight::handle_event(), CWindowProjectorLeft::handle_event(), CWindowCameraBottom::handle_event(), CWindowCameraTop::handle_event(), CWindowCameraRight::handle_event(), CWindowCameraLeft::handle_event(), CWindowCanvas::reset_keyframe(), CWindowProjectorGUI::update(), and CWindowCameraGUI::update().

| void CWindow::show_window | ( | ) |
Definition at line 63 of file cwindow.C.
References BC_WindowBase::flush(), gui, BC_WindowBase::lock_window(), BC_WindowBase::raise_window(), CWindowTool::show_tool(), BC_WindowBase::show_window(), CWindowGUI::tool_panel, and BC_WindowBase::unlock_window().
Referenced by MWindow::show_cwindow().

| void CWindow::hide_window | ( | ) |
Definition at line 74 of file cwindow.C.
References MWindow::gui, gui, CWindowTool::hide_tool(), BC_WindowBase::hide_window(), BC_WindowBase::lock_window(), MWindowGUI::mainmenu, mwindow, CWindowGUI::mwindow, MWindow::save_defaults(), MWindow::session, BC_MenuItem::set_checked(), MainMenu::show_cwindow, MainSession::show_cwindow, CWindowGUI::tool_panel, and BC_WindowBase::unlock_window().
Referenced by CWindowGUI::close_event().

Definition at line 49 of file cwindow.h.
Referenced by calculate_affected_auto(), calculate_affected_track(), create_objects(), hide_window(), and update().
Definition at line 50 of file cwindow.h.
Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), PackageRenderer::create_engine(), MWindow::create_objects(), create_objects(), CWindowSlider::decrease_value(), MWindowGUI::default_positions(), AWindowAssets::drag_motion_event(), AWindowAssets::drag_stop_event(), CWindowMaskGUI::get_keyframe(), Clear::handle_event(), CWindowMaskCyclePrev::handle_event(), CWindowMaskCycleNext::handle_event(), CWindowMaskDelete::handle_event(), CWindowCropGUI::handle_event(), hide_window(), CWindowSlider::increase_value(), ManualGoto::open_window(), AssetPopup::paste_assets(), MWindow::redo_entry(), MWindow::reset_meters(), ManualGoto::run(), run(), MWindow::set_auto_keyframes(), MWindow::set_editing_mode(), MWindow::set_inpoint(), MWindow::set_outpoint(), show_window(), Tracking::stop_meters(), MWindow::toggle_label(), MWindow::undo_entry(), update(), Tracking::update_meters(), CWindowMaskGUI::update_preview(), CWindowProjectorGUI::update_preview(), CWindowCameraGUI::update_preview(), MWindow::update_project(), and CTracking::update_tracker().
Definition at line 52 of file cwindow.h.
Referenced by create_objects(), CPlayback::init_cursor(), CPlayback::stop_cursor(), and ~CWindow().
Definition at line 53 of file cwindow.h.
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), PreferencesThread::apply_settings(), CWindowCanvas::button_press_event(), MWindow::clear_entry(), MWindow::concatenate_tracks(), New::create_new_project(), MButtons::create_objects(), create_objects(), MWindow::crop_video(), TrackCanvas::cursor_motion_event(), CWindowCanvas::cursor_motion_event(), MWindow::cut(), MWindow::delete_track(), MWindow::delete_tracks(), Tracking::get_playback_engine(), CTracking::get_playback_engine(), CWindowSlider::handle_event(), MWindow::load_filenames(), MWindow::move_edits(), MWindow::move_effect(), MWindow::mute_selection(), MWindow::paste_silence(), MWindow::redo_entry(), MWindow::remove_asset_from_caches(), MWindow::reset_caches(), MWindow::sync_parameters(), MWindow::toggle_label(), MWindow::trim_selection(), MWindow::undo_entry(), update(), CWindowMaskGUI::update_preview(), CWindowProjectorGUI::update_preview(), CWindowCameraGUI::update_preview(), MWindow::update_project(), and ~CWindow().
1.5.5