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

CWindow Class Reference

#include <cwindow.h>

List of all members.

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 ()
Trackcalculate_affected_track ()
Autocalculate_affected_auto (Autos *autos, int create=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 ()

Public Attributes

int destination
MWindowmwindow
CWindowGUIgui
CTrackingplayback_cursor
CPlaybackplayback_engine


Detailed Description

Definition at line 14 of file cwindow.h.


Constructor & Destructor Documentation

CWindow::CWindow MWindow mwindow  ) 
 

Definition at line 31 of file cwindow.C.

CWindow::~CWindow  ) 
 

Definition at line 38 of file cwindow.C.

References playback_cursor, and playback_engine.


Member Function Documentation

Auto * CWindow::calculate_affected_auto Autos autos,
int  create = 1
 

Definition at line 108 of file cwindow.C.

References MWindowGUI::canvas, TrackCanvas::draw_overlays(), Autos::get_auto_for_editing(), Autos::get_prev_auto(), MWindow::gui, and mwindow.

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

Track * CWindow::calculate_affected_track  ) 
 

Definition at line 91 of file cwindow.C.

References Track::data_type, MWindow::edl, mwindow, Track::record, 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().

int CWindow::create_objects  ) 
 

Definition at line 44 of file cwindow.C.

References CWindowGUI::canvas, Tracking::create_objects(), PlaybackEngine::create_objects(), CWindowGUI::create_objects(), MWindow::defaults, destination, gui, mwindow, playback_cursor, playback_engine, PlayTransport::set_engine(), and CWindowGUI::transport.

Referenced by MWindow::init_compositor().

void CWindow::hide_window  ) 
 

Definition at line 73 of file cwindow.C.

References MWindow::gui, gui, CWindowTool::hide_tool(), MWindowGUI::mainmenu, mwindow, CWindowGUI::mwindow, MWindow::save_defaults(), MWindow::session, MainMenu::show_cwindow, MainSession::show_cwindow, and CWindowGUI::tool_panel.

Referenced by CWindowGUI::close_event().

void CWindow::run  ) 
 

Definition at line 175 of file cwindow.C.

References gui.

void CWindow::show_window  ) 
 

Definition at line 62 of file cwindow.C.

References gui, CWindowTool::show_tool(), and CWindowGUI::tool_panel.

Referenced by MWindow::show_cwindow().

void CWindow::update int  position,
int  overlays,
int  tool_window,
int  operation = 0,
int  timebar = 0
 

Definition at line 180 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, 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, 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(), TrackCanvas::do_edit_handles(), TrackCanvas::do_plugin_handles(), MWindow::finish_modify_handles(), MWindow::goto_end(), MWindow::goto_start(), MWindowGUI::keypress_event(), MWindow::next_label(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::paste_silence(), 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(), CWindowSlider::set_position(), PatchGUI::toggle_behavior(), MWindow::undo_entry(), and MWindow::update_project().


Member Data Documentation

int CWindow::destination
 

Definition at line 46 of file cwindow.h.

Referenced by create_objects().

CWindowGUI* CWindow::gui
 

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

MWindow* CWindow::mwindow
 

Definition at line 47 of file cwindow.h.

Referenced by calculate_affected_auto(), calculate_affected_track(), create_objects(), hide_window(), and update().

CTracking* CWindow::playback_cursor
 

Definition at line 50 of file cwindow.h.

Referenced by create_objects(), CPlayback::init_cursor(), CPlayback::stop_cursor(), and ~CWindow().

CPlayback* CWindow::playback_engine
 

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


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