Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

CWindowGUI Class Reference

#include <cwindowgui.h>

List of all members.

Public Member Functions

 CWindowGUI (MWindow *mwindow, CWindow *cwindow)
 ~CWindowGUI ()
int create_objects ()
int resize_event (int w, int h)
int close_event ()
int keypress_event ()
int translation_event ()
void set_operation (int value)
void update_tool ()
void drag_motion ()
int drag_stop ()
void draw_status ()
void reset_affected ()
void keyboard_zoomin ()
void keyboard_zoomout ()

Public Attributes

MWindowmwindow
CWindowcwindow
CWindowEditingedit_panel
CPanelcomposite_panel
CWindowZoomzoom_panel
CWindowSliderslider
CWindowResetreset
CWindowTransporttransport
CWindowCanvascanvas
CTimeBartimebar
BC_Pixmap * active
BC_Pixmap * inactive
CWindowMetersmeters
CWindowTooltool_panel
int current_operation
Trackaffected_track
FloatAutoaffected_x
FloatAutoaffected_y
FloatAutoaffected_z
Autoaffected_keyframe
int affected_point
float x_offset
float y_offset
float x_origin
float y_origin
int crop_handle
int crop_translate
float crop_origin_x
float crop_origin_y
float crop_origin_x1
float crop_origin_y1
float crop_origin_x2
float crop_origin_y2
float center_x
float center_y
float center_z
float control_in_x
float control_in_y
float control_out_x
float control_out_y
int current_tool
int translating_zoom


Detailed Description

Definition at line 35 of file cwindowgui.h.


Constructor & Destructor Documentation

CWindowGUI::CWindowGUI MWindow mwindow,
CWindow cwindow
 

Definition at line 54 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 88 of file cwindowgui.C.

References active, canvas, composite_panel, edit_panel, inactive, meters, tool_panel, transport, and zoom_panel.


Member Function Documentation

int CWindowGUI::close_event  ) 
 

Definition at line 304 of file cwindowgui.C.

References cwindow, and CWindow::hide_window().

Referenced by keypress_event().

int CWindowGUI::create_objects  ) 
 

Definition at line 101 of file cwindowgui.C.

References active, AUTO_ZOOM, canvas, Theme::ccomposite_h, Theme::ccomposite_w, Theme::ccomposite_x, Theme::ccomposite_y, Theme::cmeter_h, Theme::cmeter_x, Theme::cmeter_y, composite_panel, PlayTransport::create_objects(), TimeBar::create_objects(), Theme::ctimebar_x, cwindow, MainSession::cwindow_controls, Theme::draw_cwindow_bg(), draw_status(), edit_panel, MWindow::edl, Theme::get_cwindow_sizes(), inactive, meters, mwindow, MWindow::session, set_operation(), PlayTransport::set_slider(), slider, MWindow::theme, timebar, tool_panel, transport, and zoom_panel.

Referenced by CWindow::create_objects().

void CWindowGUI::drag_motion  ) 
 

Definition at line 369 of file cwindowgui.C.

References canvas, MainSession::ccanvas_highlighted, MainSession::current_operation, CWindowCanvas::draw_refresh(), 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 393 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, LocalSession::get_selectionstart(), MWindow::gui, MWindow::insert_effects_cwindow(), EDLSession::labels_follow_edits, MWindow::load_assets(), EDL::local_session, 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(), MainSession::track_highlighted, MWindow::undo, MWindowGUI::update(), and MainUndo::update_undo().

Referenced by AWindowAssets::drag_stop_event().

void CWindowGUI::draw_status  ) 
 

Definition at line 265 of file cwindowgui.C.

References active, Canvas::canvas, canvas, Theme::cstatus_x, Theme::cstatus_y, inactive, Canvas::is_processing, mwindow, and MWindow::theme.

Referenced by create_objects(), resize_event(), and CWindowCanvas::status_event().

void CWindowGUI::keyboard_zoomin  ) 
 

Definition at line 346 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 357 of file cwindowgui.C.

References ZoomTumbler::handle_down_event(), zoom_panel, and ZoomPanel::zoom_tumbler.

Referenced by keypress_event().

int CWindowGUI::keypress_event  ) 
 

Definition at line 311 of file cwindowgui.C.

References close_event(), keyboard_zoomin(), keyboard_zoomout(), PlayTransport::keypress_event(), and transport.

void CWindowGUI::reset_affected  ) 
 

Definition at line 339 of file cwindowgui.C.

References affected_x, affected_y, and affected_z.

Referenced by CWindowCanvas::test_bezier().

int CWindowGUI::resize_event int  w,
int  h
 

Definition at line 211 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, Theme::get_cwindow_sizes(), meters, mwindow, EditPanel::reposition_buttons(), PlayTransport::reposition_buttons(), CPanel::reposition_buttons(), MeterPanel::reposition_window(), ZoomPanel::reposition_window(), Canvas::reposition_window(), 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().

void CWindowGUI::set_operation int  value  ) 
 

Definition at line 288 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().

int CWindowGUI::translation_event  ) 
 

Definition at line 204 of file cwindowgui.C.

References MainSession::cwindow_x, MainSession::cwindow_y, mwindow, and MWindow::session.

void CWindowGUI::update_tool  ) 
 

Definition at line 299 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().


Member Data Documentation

BC_Pixmap* CWindowGUI::active
 

Definition at line 67 of file cwindowgui.h.

Referenced by create_objects(), CWindowGUI(), draw_status(), and ~CWindowGUI().

Auto* CWindowGUI::affected_keyframe
 

Definition at line 88 of file cwindowgui.h.

Referenced by CWindowGUI(), and CWindowCanvas::do_mask().

int CWindowGUI::affected_point
 

Definition at line 90 of file cwindowgui.h.

Referenced by CWindowGUI(), CWindowCanvas::do_mask(), CWindowMaskGUI::get_keyframe(), CWindowMaskCyclePrev::handle_event(), CWindowMaskCycleNext::handle_event(), and CWindowMaskDelete::handle_event().

Track* CWindowGUI::affected_track
 

Definition at line 82 of file cwindowgui.h.

Referenced by CWindowGUI(), CWindowCanvas::do_mask(), drag_stop(), and CWindowCanvas::test_bezier().

FloatAuto* CWindowGUI::affected_x
 

Definition at line 84 of file cwindowgui.h.

Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().

FloatAuto* CWindowGUI::affected_y
 

Definition at line 85 of file cwindowgui.h.

Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().

FloatAuto* CWindowGUI::affected_z
 

Definition at line 86 of file cwindowgui.h.

Referenced by CWindowGUI(), reset_affected(), and CWindowCanvas::test_bezier().

CWindowCanvas* CWindowGUI::canvas
 

Definition at line 65 of file cwindowgui.h.

Referenced by PackageRenderer::create_engine(), create_objects(), CWindow::create_objects(), drag_motion(), drag_stop(), draw_status(), CWindowCropGUI::handle_event(), CWindowZoom::handle_event(), CPanelTitleSafe::handle_event(), resize_event(), set_operation(), CWindow::update(), CWindowMaskGUI::update_preview(), CWindowProjectorGUI::update_preview(), CWindowCameraGUI::update_preview(), and ~CWindowGUI().

float CWindowGUI::center_x
 

Definition at line 107 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask(), and CWindowCanvas::test_bezier().

float CWindowGUI::center_y
 

Definition at line 107 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask(), and CWindowCanvas::test_bezier().

float CWindowGUI::center_z
 

Definition at line 107 of file cwindowgui.h.

Referenced by CWindowCanvas::test_bezier().

CPanel* CWindowGUI::composite_panel
 

Definition at line 60 of file cwindowgui.h.

Referenced by CWindowToolGUI::close_event(), create_objects(), resize_event(), set_operation(), and ~CWindowGUI().

float CWindowGUI::control_in_x
 

Definition at line 108 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask().

float CWindowGUI::control_in_y
 

Definition at line 108 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask().

float CWindowGUI::control_out_x
 

Definition at line 108 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask().

float CWindowGUI::control_out_y
 

Definition at line 108 of file cwindowgui.h.

Referenced by CWindowCanvas::do_mask().

int CWindowGUI::crop_handle
 

Definition at line 97 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_x
 

Definition at line 101 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_x1
 

Definition at line 103 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_x2
 

Definition at line 104 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_y
 

Definition at line 101 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_y1
 

Definition at line 103 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

float CWindowGUI::crop_origin_y2
 

Definition at line 104 of file cwindowgui.h.

Referenced by CWindowCanvas::test_crop().

int CWindowGUI::crop_translate
 

Definition at line 99 of file cwindowgui.h.

Referenced by CWindowGUI(), and CWindowCanvas::test_crop().

int CWindowGUI::current_operation
 

Definition at line 78 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().

int CWindowGUI::current_tool
 

Definition at line 109 of file cwindowgui.h.

CWindow* CWindowGUI::cwindow
 

Definition at line 57 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().

CWindowEditing* CWindowGUI::edit_panel
 

Definition at line 58 of file cwindowgui.h.

Referenced by create_objects(), resize_event(), MWindow::set_auto_keyframes(), MWindow::set_editing_mode(), set_operation(), and ~CWindowGUI().

BC_Pixmap* CWindowGUI::inactive
 

Definition at line 68 of file cwindowgui.h.

Referenced by create_objects(), CWindowGUI(), draw_status(), and ~CWindowGUI().

CWindowMeters* CWindowGUI::meters
 

Definition at line 72 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().

MWindow* CWindowGUI::mwindow
 

Definition at line 56 of file cwindowgui.h.

Referenced by create_objects(), drag_motion(), drag_stop(), draw_status(), CWindow::hide_window(), resize_event(), set_operation(), and translation_event().

CWindowReset* CWindowGUI::reset
 

Definition at line 63 of file cwindowgui.h.

CWindowSlider* CWindowGUI::slider
 

Definition at line 62 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().

CTimeBar* CWindowGUI::timebar
 

Definition at line 66 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().

CWindowTool* CWindowGUI::tool_panel
 

Definition at line 75 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().

int CWindowGUI::translating_zoom
 

Definition at line 112 of file cwindowgui.h.

Referenced by CWindowCanvas::button_press_event(), CWindowGUI(), and CWindowCanvas::test_bezier().

CWindowTransport* CWindowGUI::transport
 

Definition at line 64 of file cwindowgui.h.

Referenced by create_objects(), CWindow::create_objects(), CWindowSlider::decrease_value(), CWindowSlider::increase_value(), keypress_event(), resize_event(), and ~CWindowGUI().

float CWindowGUI::x_offset
 

Definition at line 92 of file cwindowgui.h.

Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::cursor_motion_event(), and CWindowGUI().

float CWindowGUI::x_origin
 

Definition at line 95 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_offset
 

Definition at line 92 of file cwindowgui.h.

Referenced by CWindowCanvas::button_press_event(), CWindowCanvas::cursor_motion_event(), and CWindowGUI().

float CWindowGUI::y_origin
 

Definition at line 95 of file cwindowgui.h.

Referenced by CWindowCanvas::calculate_origin(), CWindowCanvas::cursor_motion_event(), CWindowGUI(), CWindowCanvas::do_mask(), CWindowCanvas::test_bezier(), and CWindowCanvas::test_crop().

CWindowZoom* CWindowGUI::zoom_panel
 

Definition at line 61 of file cwindowgui.h.

Referenced by create_objects(), keyboard_zoomin(), keyboard_zoomout(), resize_event(), CWindowCanvas::test_zoom(), CWindow::update(), and ~CWindowGUI().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:12 2006 for Cinelerra-svn by  doxygen 1.4.4