#include <cwindowgui.h>
Inherits BC_Window.

Definition at line 35 of file cwindowgui.h.
Definition at line 57 of file cwindowgui.C.
References active, affected_keyframe, affected_point, affected_track, affected_x, affected_y, affected_z, crop_translate, current_operation, inactive, tool_panel, translating_zoom, x_offset, x_origin, y_offset, and y_origin.
| CWindowGUI::~CWindowGUI | ( | ) |
Definition at line 91 of file cwindowgui.C.
References active, canvas, composite_panel, edit_panel, inactive, meters, tool_panel, transport, and zoom_panel.
| int CWindowGUI::create_objects | ( | ) |
Definition at line 104 of file cwindowgui.C.
References active, BC_PopupMenu::add_item(), BC_WindowBase::add_subwindow(), AUTO_ZOOM, BC_WindowBase::BC_MenuItem, BC_WindowBase::BC_Pixmap, canvas, Theme::ccomposite_h, Theme::ccomposite_w, Theme::ccomposite_x, Theme::ccomposite_y, Theme::cmeter_h, Theme::cmeter_x, Theme::cmeter_y, composite_panel, ZoomPanel::create_objects(), EditPanel::create_objects(), PlayTransport::create_objects(), TimeBar::create_objects(), Canvas::create_objects(), CPanel::create_objects(), MeterPanel::create_objects(), Theme::cslider_w, Theme::cslider_x, Theme::cslider_y, Theme::ctimebar_h, Theme::ctimebar_w, Theme::ctimebar_x, Theme::ctimebar_y, Theme::ctransport_x, Theme::ctransport_y, cwindow, MainSession::cwindow_controls, EDLSession::cwindow_operation, EDLSession::cwindow_scrollbars, Theme::czoom_x, Theme::czoom_y, Theme::draw_cwindow_bg(), CWindowCanvas::draw_refresh(), draw_status(), edit_panel, MWindow::edl, BC_WindowBase::flash(), Theme::get_cwindow_sizes(), BC_Theme::get_image(), inactive, meters, mwindow, EDL::session, MWindow::session, BC_WindowBase::set_icon(), EditPanel::set_meters(), set_operation(), PlayTransport::set_slider(), ZoomPanel::set_text(), slider, MWindow::theme, timebar, tool_panel, transport, zoom_panel, and ZoomPanel::zoom_text.
Referenced by CWindow::create_objects().

| int CWindowGUI::resize_event | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 200 of file cwindowgui.C.
References canvas, Theme::ccanvas_h, Theme::ccanvas_w, Theme::ccanvas_x, Theme::ccanvas_y, Theme::ccomposite_x, Theme::ccomposite_y, Theme::cedit_x, Theme::cedit_y, Theme::cmeter_h, Theme::cmeter_x, Theme::cmeter_y, composite_panel, Theme::cslider_w, Theme::cslider_x, Theme::cslider_y, Theme::ctransport_x, Theme::ctransport_y, MainSession::cwindow_controls, MainSession::cwindow_h, MainSession::cwindow_w, MainSession::cwindow_x, MainSession::cwindow_y, Theme::czoom_x, Theme::czoom_y, Theme::draw_cwindow_bg(), draw_status(), edit_panel, MWindow::edl, BC_WindowBase::flash(), Theme::get_cwindow_sizes(), BC_WindowBase::get_x(), BC_WindowBase::get_y(), meters, mwindow, EditPanel::reposition_buttons(), PlayTransport::reposition_buttons(), CPanel::reposition_buttons(), MeterPanel::reposition_window(), ZoomPanel::reposition_window(), BC_Slider::reposition_window(), Canvas::reposition_window(), BC_WindowBase::resize_event(), CTimeBar::resize_event(), MWindow::session, CWindowSlider::set_position(), slider, MWindow::theme, timebar, transport, and zoom_panel.
Referenced by SetFormatThread::apply_changes(), CWindowMeters::change_status_event(), MWindowGUI::default_positions(), CWindowCanvas::toggle_controls(), and CWindowCanvas::zoom_resize_window().

| int CWindowGUI::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 253 of file cwindowgui.C.
References Canvas::button_press_event_base(), canvas, and Canvas::get_canvas().

| int CWindowGUI::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 260 of file cwindowgui.C.
References canvas, Canvas::cursor_leave_event_base(), and Canvas::get_canvas().

| int CWindowGUI::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 267 of file cwindowgui.C.
References canvas, Canvas::cursor_enter_event_base(), and Canvas::get_canvas().

| int CWindowGUI::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 274 of file cwindowgui.C.
References CWindowCanvas::button_release_event(), canvas, and Canvas::get_canvas().

| int CWindowGUI::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 281 of file cwindowgui.C.
References canvas, CWindowCanvas::cursor_motion_event(), Canvas::get_canvas(), and BC_WindowBase::unhide_cursor().

| void CWindowGUI::zoom_canvas | ( | int | do_auto, | |
| double | value, | |||
| int | update_menu | |||
| ) |
Definition at line 321 of file cwindowgui.C.
References AUTO_ZOOM, canvas, Canvas::canvas_to_output(), Theme::ccanvas_h, Theme::ccanvas_w, Theme::ccanvas_x, Theme::ccanvas_y, EDLSession::cwindow_scrollbars, EDLSession::cwindow_zoom, CWindowCanvas::draw_refresh(), MWindow::edl, Canvas::h, Canvas::h_visible, mwindow, Canvas::reposition_window(), EDL::session, MWindow::theme, ZoomPanel::update(), CWindowCanvas::update_zoom(), Canvas::w, Canvas::w_visible, BC_WindowBase::x, BC_WindowBase::y, and zoom_panel.
Referenced by CWindowZoom::handle_event(), and CWindowCanvas::zoom_auto().

| int CWindowGUI::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 381 of file cwindowgui.C.
References cwindow, and CWindow::hide_window().
Referenced by keypress_event().

| int CWindowGUI::keypress_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 388 of file cwindowgui.C.
References BC_WindowBase::alt_down(), canvas, close_event(), BC_WindowBase::ctrl_down(), MainSession::cwindow_fullscreen, ESC, BC_WindowBase::get_keypress(), MWindow::gui, PlayTransport::handle_transport(), keyboard_zoomin(), keyboard_zoomout(), PlayTransport::keypress_event(), LEFT, BC_WindowBase::lock_window(), MWindowGUI::mbuttons, MWindow::move_left(), MWindow::move_right(), mwindow, MWindow::next_edit_handle(), MWindow::prev_edit_handle(), RIGHT, MWindow::session, BC_WindowBase::shift_down(), Canvas::start_fullscreen(), STOP, Canvas::stop_fullscreen(), transport, MButtons::transport, and BC_WindowBase::unlock_window().

| int CWindowGUI::translation_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 193 of file cwindowgui.C.
References MainSession::cwindow_x, MainSession::cwindow_y, BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, and MWindow::session.

| void CWindowGUI::set_operation | ( | int | value | ) |
Definition at line 365 of file cwindowgui.C.
References canvas, composite_panel, EDLSession::cwindow_operation, CWindowCanvas::draw_refresh(), edit_panel, MWindow::edl, mwindow, EDL::session, CPanel::set_operation(), CWindowTool::start_tool(), tool_panel, and EditPanel::update().
Referenced by create_objects(), CPanelEyedrop::handle_event(), CPanelCrop::handle_event(), CPanelProj::handle_event(), CPanelCamera::handle_event(), CPanelMagnify::handle_event(), CPanelMask::handle_event(), CPanelProtect::handle_event(), and CWindow::update().

| void CWindowGUI::update_tool | ( | ) |
Definition at line 376 of file cwindowgui.C.
References tool_panel, and CWindowTool::update_values().
Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::cursor_motion_event(), CWindowCanvas::do_eyedrop(), CWindowCanvas::reset_keyframe(), and CWindow::update().

| void CWindowGUI::drag_motion | ( | ) |
Definition at line 502 of file cwindowgui.C.
References canvas, MainSession::ccanvas_highlighted, MainSession::current_operation, BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, CWindowCanvas::draw_refresh(), BC_WindowBase::get_cursor_over_window(), BC_WindowBase::get_hidden(), BC_WindowBase::get_relative_cursor_x(), BC_WindowBase::get_relative_cursor_y(), Canvas::h, mwindow, MWindow::session, Canvas::w, Canvas::x, and Canvas::y.
Referenced by AWindowAssets::drag_motion_event().

| int CWindowGUI::drag_stop | ( | ) |
Definition at line 526 of file cwindowgui.C.
References _, affected_track, CWindow::calculate_affected_track(), canvas, MainSession::ccanvas_highlighted, MWindow::clear(), MainSession::current_operation, cwindow, MainSession::drag_assets, MainSession::drag_clips, CWindowCanvas::draw_refresh(), MWindow::edl, BC_WindowBase::get_hidden(), LocalSession::get_selectionstart(), MWindow::gui, MWindow::insert_effects_cwindow(), EDLSession::labels_follow_edits, MWindow::load_assets(), EDL::local_session, BC_WindowBase::lock_window(), mwindow, MWindow::paste_edls(), MWindow::paste_transition_cwindow(), EDLSession::plugins_follow_edits, MWindow::restart_brender(), MWindow::save_backup(), EDL::session, MWindow::session, MWindow::sync_parameters(), ArrayList< TYPE >::total, MainSession::track_highlighted, MWindow::undo, BC_WindowBase::unlock_window(), MWindowGUI::update(), and MainUndo::update_undo().
Referenced by AWindowAssets::drag_stop_event().

| void CWindowGUI::draw_status | ( | ) |
Definition at line 297 of file cwindowgui.C.
References active, canvas, Theme::cstatus_x, Theme::cstatus_y, BC_WindowBase::draw_pixmap(), BC_WindowBase::flash(), Canvas::get_canvas(), BC_Pixmap::get_h(), BC_WindowBase::get_video_on(), BC_Pixmap::get_w(), inactive, Canvas::is_processing, mwindow, and MWindow::theme.
Referenced by create_objects(), resize_event(), and CWindowCanvas::status_event().

| void CWindowGUI::reset_affected | ( | ) |
Definition at line 472 of file cwindowgui.C.
References affected_x, affected_y, and affected_z.
Referenced by CWindowCanvas::test_bezier().
| void CWindowGUI::keyboard_zoomin | ( | ) |
Definition at line 479 of file cwindowgui.C.
References ZoomTumbler::handle_up_event(), zoom_panel, and ZoomPanel::zoom_tumbler.
Referenced by keypress_event().

| void CWindowGUI::keyboard_zoomout | ( | ) |
Definition at line 490 of file cwindowgui.C.
References ZoomTumbler::handle_down_event(), zoom_panel, and ZoomPanel::zoom_tumbler.
Referenced by keypress_event().

Definition at line 67 of file cwindowgui.h.
Referenced by create_objects(), drag_motion(), drag_stop(), draw_status(), CWindow::hide_window(), keypress_event(), resize_event(), set_operation(), translation_event(), and zoom_canvas().
Definition at line 68 of file cwindowgui.h.
Referenced by CWindowCanvas::button_press_event(), close_event(), create_objects(), CWindowCanvas::cursor_motion_event(), CWindowCanvas::do_mask(), drag_stop(), CWindowCanvas::draw_bezier(), CWindowCanvas::reset_keyframe(), and CWindowCanvas::test_bezier().
Definition at line 69 of file cwindowgui.h.
Referenced by create_objects(), resize_event(), MWindow::set_auto_keyframes(), MWindow::set_editing_mode(), set_operation(), and ~CWindowGUI().
Definition at line 71 of file cwindowgui.h.
Referenced by CWindowToolGUI::close_event(), create_objects(), resize_event(), set_operation(), and ~CWindowGUI().
Definition at line 72 of file cwindowgui.h.
Referenced by create_objects(), keyboard_zoomin(), keyboard_zoomout(), resize_event(), CWindowCanvas::test_zoom(), CWindow::update(), zoom_canvas(), and ~CWindowGUI().
Definition at line 73 of file cwindowgui.h.
Referenced by SetFormatThread::apply_changes(), create_objects(), resize_event(), CWindow::update(), CTimeBar::update_preview(), MWindow::update_project(), and CTracking::update_tracker().
Definition at line 74 of file cwindowgui.h.
Definition at line 75 of file cwindowgui.h.
Referenced by create_objects(), CWindow::create_objects(), CWindowSlider::decrease_value(), CWindowSlider::increase_value(), keypress_event(), resize_event(), and ~CWindowGUI().
Definition at line 76 of file cwindowgui.h.
Referenced by button_press_event(), button_release_event(), PackageRenderer::create_engine(), create_objects(), CWindow::create_objects(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), drag_motion(), drag_stop(), draw_status(), CWindowCropGUI::handle_event(), CPanelTitleSafe::handle_event(), keypress_event(), resize_event(), set_operation(), CWindow::update(), CWindowMaskGUI::update_preview(), CWindowProjectorGUI::update_preview(), CWindowCameraGUI::update_preview(), zoom_canvas(), and ~CWindowGUI().
Definition at line 77 of file cwindowgui.h.
Referenced by create_objects(), resize_event(), MWindow::set_inpoint(), MWindow::set_outpoint(), MWindow::toggle_label(), CWindow::update(), MWindow::update_project(), and CTracking::update_tracker().
Definition at line 78 of file cwindowgui.h.
Referenced by create_objects(), CWindowGUI(), draw_status(), and ~CWindowGUI().
Definition at line 79 of file cwindowgui.h.
Referenced by create_objects(), CWindowGUI(), draw_status(), and ~CWindowGUI().
Definition at line 83 of file cwindowgui.h.
Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), create_objects(), MWindow::reset_meters(), resize_event(), Tracking::stop_meters(), Tracking::update_meters(), and ~CWindowGUI().
Definition at line 86 of file cwindowgui.h.
Referenced by create_objects(), CWindowGUI(), CPanelToolWindow::handle_event(), CWindow::hide_window(), set_operation(), CPanelToolWindow::set_shown(), CWindow::show_window(), update_tool(), and ~CWindowGUI().
Definition at line 89 of file cwindowgui.h.
Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::button_release_event(), CWindowCanvas::cursor_motion_event(), CWindowGUI(), CWindowCanvas::do_eyedrop(), CWindowCanvas::do_mask(), CWindowCanvas::test_bezier(), and CWindowCanvas::test_crop().
Definition at line 93 of file cwindowgui.h.
Referenced by CWindowGUI(), CWindowCanvas::do_mask(), drag_stop(), and CWindowCanvas::test_bezier().
Definition at line 95 of file cwindowgui.h.
Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().
Definition at line 96 of file cwindowgui.h.
Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().
Definition at line 97 of file cwindowgui.h.
Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().
Definition at line 99 of file cwindowgui.h.
Referenced by CWindowGUI(), and CWindowCanvas::do_mask().
Definition at line 101 of file cwindowgui.h.
Referenced by CWindowGUI(), CWindowCanvas::do_mask(), CWindowMaskGUI::get_keyframe(), CWindowMaskCyclePrev::handle_event(), CWindowMaskCycleNext::handle_event(), and CWindowMaskDelete::handle_event().
| float CWindowGUI::x_offset |
Definition at line 103 of file cwindowgui.h.
Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::cursor_motion_event(), and CWindowGUI().
| float CWindowGUI::y_offset |
Definition at line 103 of file cwindowgui.h.
Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::cursor_motion_event(), and CWindowGUI().
| float CWindowGUI::x_origin |
Definition at line 106 of file cwindowgui.h.
Referenced by CWindowCanvas::calculate_origin(), CWindowCanvas::cursor_motion_event(), CWindowGUI(), CWindowCanvas::do_mask(), CWindowCanvas::test_bezier(), and CWindowCanvas::test_crop().
| float CWindowGUI::y_origin |
Definition at line 106 of file cwindowgui.h.
Referenced by CWindowCanvas::calculate_origin(), CWindowCanvas::cursor_motion_event(), CWindowGUI(), CWindowCanvas::do_mask(), CWindowCanvas::test_bezier(), and CWindowCanvas::test_crop().
Definition at line 110 of file cwindowgui.h.
Referenced by CWindowGUI(), and CWindowCanvas::test_crop().
| float CWindowGUI::center_x |
Definition at line 118 of file cwindowgui.h.
Referenced by CWindowCanvas::do_mask(), and CWindowCanvas::test_bezier().
| float CWindowGUI::center_y |
Definition at line 118 of file cwindowgui.h.
Referenced by CWindowCanvas::do_mask(), and CWindowCanvas::test_bezier().
| float CWindowGUI::center_z |
| float CWindowGUI::control_in_x |
| float CWindowGUI::control_in_y |
Definition at line 120 of file cwindowgui.h.
Definition at line 123 of file cwindowgui.h.
Referenced by CWindowCanvas::button_press_event(), CWindowGUI(), and CWindowCanvas::test_bezier().
1.5.5