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