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

VWindow Class Reference

#include <viewer.h>

List of all members.

Public Member Functions

 VWindow (MWindow *mwindow)
 ~VWindow ()
 VWindow (MWindow *mwindow)
 ~VWindow ()
void load_defaults ()
int create_objects ()
void run ()
void change_source (Asset *asset)
void change_source (EDL *edl)
void change_source ()
void change_source (char *folder, int item)
void remove_source ()
EDLget_edl ()
Assetget_asset ()
void update (int do_timebar)
void update_position (int change_type=CHANGE_NONE, int use_slider=1, int update_slider=0)
void set_inpoint ()
void set_outpoint ()
void clear_inpoint ()
void clear_outpoint ()
void copy ()
void splice_selection ()
void overwrite_selection ()
void delete_edl ()
void goto_start ()
void goto_end ()

Public Attributes

MWindowmwindow
VTrackingplayback_cursor
MWindowmwindow
VWindowvwindow
VWindowGUIgui
VPlaybackplayback_engine
ClipEditclip_edit
Assetasset
int edl_shared


Detailed Description

Definition at line 7 of file viewer.h.


Constructor & Destructor Documentation

VWindow::VWindow MWindow mwindow  ) 
 

Definition at line 24 of file vwindow.C.

References asset.

VWindow::~VWindow  ) 
 

Definition at line 31 of file vwindow.C.

References clip_edit, delete_edl(), playback_cursor, and playback_engine.

VWindow::VWindow MWindow mwindow  ) 
 

VWindow::~VWindow  ) 
 


Member Function Documentation

void VWindow::change_source char *  folder,
int  item
 

Definition at line 207 of file vwindow.C.

References EDL::assets, change_source(), EDL::clips, MWindow::edl, mwindow, and remove_source().

void VWindow::change_source  ) 
 

Definition at line 103 of file vwindow.C.

References asset, VWindowGUI::change_source(), MWindow::edl, edl_shared, get_edl(), gui, mwindow, update_position(), and EDL::vwindow_edl.

Referenced by change_source().

void VWindow::change_source EDL edl  ) 
 

Definition at line 170 of file vwindow.C.

References _, asset, VWindowGUI::change_source(), LocalSession::clip_title, EDL::clips, delete_edl(), MWindow::edl, edl_shared, gui, EDL::id, EDL::local_session, mwindow, EDL::session, update_position(), EDL::vwindow_edl, EDLSession::vwindow_folder, and EDLSession::vwindow_source.

void VWindow::change_source Asset asset  ) 
 

Definition at line 119 of file vwindow.C.

References MWindow::asset_to_edl(), EDL::assets, VWindowGUI::change_source(), EDL::create_objects(), delete_edl(), MWindow::edl, edl_shared, Asset::equivalent(), gui, mwindow, Asset::path, EDL::session, update_position(), EDL::vwindow_edl, EDLSession::vwindow_folder, and EDLSession::vwindow_source.

Referenced by VWindowGUI::drag_stop(), AWindowAssets::handle_event(), AssetPopupView::handle_event(), and MWindow::update_project().

void VWindow::clear_inpoint  ) 
 

Definition at line 325 of file vwindow.C.

References get_edl(), gui, EDL::local_session, VWindowGUI::timebar, LocalSession::unset_inpoint(), and TimeBar::update().

Referenced by VWindowEditing::clear_inpoint().

void VWindow::clear_outpoint  ) 
 

Definition at line 335 of file vwindow.C.

References get_edl(), gui, EDL::local_session, VWindowGUI::timebar, LocalSession::unset_outpoint(), and TimeBar::update().

Referenced by VWindowEditing::clear_outpoint().

void VWindow::copy  ) 
 

Definition at line 345 of file vwindow.C.

References EDL::copy(), get_edl(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), MWindow::gui, EDL::local_session, mwindow, MWindow::plugindb, and FileXML::string.

Referenced by VWindowEditing::copy_selection().

int VWindow::create_objects  ) 
 

Definition at line 62 of file vwindow.C.

References VWindowGUI::canvas, clip_edit, Tracking::create_objects(), PlaybackEngine::create_objects(), VWindowGUI::create_objects(), gui, mwindow, playback_cursor, playback_engine, PlayTransport::set_engine(), and VWindowGUI::transport.

Referenced by MWindow::init_viewer().

void VWindow::delete_edl  ) 
 

Definition at line 42 of file vwindow.C.

References asset, MWindow::edl, edl_shared, mwindow, and EDL::vwindow_edl.

Referenced by change_source(), remove_source(), and ~VWindow().

Asset * VWindow::get_asset  ) 
 

Definition at line 98 of file vwindow.C.

References asset.

Referenced by MWindow::remove_assets_from_project().

EDL * VWindow::get_edl  ) 
 

Definition at line 92 of file vwindow.C.

References MWindow::edl, mwindow, and EDL::vwindow_edl.

Referenced by change_source(), clear_inpoint(), clear_outpoint(), copy(), VWindowCanvas::draw_refresh(), VWindowTransport::get_edl(), VTimeBar::get_edl(), goto_end(), goto_start(), VWindowEditing::next_label(), ManualGoto::open_window(), VWindowEditing::overwrite_selection(), VWindowEditing::prev_label(), MWindow::remove_assets_from_project(), ManualGoto::run(), set_inpoint(), set_outpoint(), VWindowSlider::set_position(), VWindowEditing::splice_selection(), VWindowEditing::to_clip(), VWindowEditing::toggle_label(), update_position(), VTracking::update_tracker(), and VWindowCanvas::zoom_resize_window().

void VWindow::goto_end  ) 
 

Definition at line 256 of file vwindow.C.

References get_edl(), EDL::local_session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), Tracks::total_length(), EDL::tracks, and update_position().

Referenced by VWindowTransport::goto_end().

void VWindow::goto_start  ) 
 

Definition at line 244 of file vwindow.C.

References get_edl(), EDL::local_session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), and update_position().

Referenced by VWindowTransport::goto_start().

void VWindow::load_defaults  ) 
 

Definition at line 58 of file vwindow.C.

Referenced by MWindow::init_viewer().

void VWindow::overwrite_selection  ) 
 

Definition at line 374 of file vwindow.C.

void VWindow::remove_source  ) 
 

Definition at line 201 of file vwindow.C.

References _, VWindowGUI::change_source(), delete_edl(), and gui.

Referenced by change_source(), VWindowCanvas::close_source(), and MWindow::remove_assets_from_project().

void VWindow::run  ) 
 

Definition at line 87 of file vwindow.C.

References gui.

void VWindow::set_inpoint  ) 
 

Definition at line 305 of file vwindow.C.

References get_edl(), LocalSession::get_selectionstart(), gui, EDL::local_session, EDL::set_inpoint(), VWindowGUI::timebar, and TimeBar::update().

Referenced by VWindowEditing::set_inpoint().

void VWindow::set_outpoint  ) 
 

Definition at line 315 of file vwindow.C.

References get_edl(), LocalSession::get_selectionstart(), gui, EDL::local_session, EDL::set_outpoint(), VWindowGUI::timebar, and TimeBar::update().

Referenced by VWindowEditing::set_outpoint().

void VWindow::splice_selection  ) 
 

Definition at line 370 of file vwindow.C.

void VWindow::update int  do_timebar  ) 
 

Definition at line 269 of file vwindow.C.

References gui, VWindowGUI::timebar, and TimeBar::update().

Referenced by VWindowSlider::set_position(), and MWindow::update_project().

void VWindow::update_position int  change_type = CHANGE_NONE,
int  use_slider = 1,
int  update_slider = 0
 

Definition at line 275 of file vwindow.C.

References asset, EDL::assets, VWindowGUI::clock, Asset::frame_rate, get_edl(), LocalSession::get_selectionstart(), gui, EDL::local_session, playback_engine, PlaybackEngine::que, Asset::sample_rate, TransportQue::send_command(), VWindowSlider::set_position(), LocalSession::set_selectionend(), LocalSession::set_selectionstart(), VWindowGUI::slider, Asset::tcstart, MainClock::update(), and Asset::video_data.

Referenced by change_source(), goto_end(), goto_start(), VWindowSlider::handle_event(), VWindowEditing::next_label(), VWindowEditing::prev_label(), ManualGoto::run(), and VTimeBar::select_label().


Member Data Documentation

Asset* VWindow::asset
 

Definition at line 68 of file vwindow.h.

Referenced by change_source(), delete_edl(), VWindowGUI::drag_stop(), get_asset(), update_position(), and VWindow().

ClipEdit* VWindow::clip_edit
 

Definition at line 64 of file vwindow.h.

Referenced by create_objects(), VWindowEditing::to_clip(), and ~VWindow().

int VWindow::edl_shared
 

Definition at line 70 of file vwindow.h.

Referenced by change_source(), and delete_edl().

VWindowGUI* VWindow::gui
 

Definition at line 62 of file vwindow.h.

Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), change_source(), clear_inpoint(), clear_outpoint(), create_objects(), MWindow::create_objects(), MWindowGUI::default_positions(), AWindowAssets::drag_motion_event(), AWindowAssets::drag_stop_event(), AWindowAssets::handle_event(), AssetPopupView::handle_event(), VWindowEditing::next_label(), VWindowEditing::prev_label(), MWindow::redo_entry(), MWindow::remove_assets_from_project(), remove_source(), MWindow::reset_meters(), run(), ManualGoto::run(), set_inpoint(), set_outpoint(), MWindow::show_vwindow(), VTracking::stop_meters(), VWindowEditing::toggle_label(), MWindow::undo_entry(), update(), VTracking::update_meters(), update_position(), and VTracking::update_tracker().

MWindow* VWindow::mwindow
 

Definition at line 60 of file vwindow.h.

MWindow* VWindow::mwindow
 

Definition at line 13 of file viewer.h.

Referenced by change_source(), copy(), create_objects(), delete_edl(), and get_edl().

VTracking* VWindow::playback_cursor
 

Definition at line 57 of file vwindow.h.

Referenced by create_objects(), VPlayback::init_cursor(), VPlayback::stop_cursor(), and ~VWindow().

VPlayback* VWindow::playback_engine
 

Definition at line 63 of file vwindow.h.

Referenced by New::create_new_project(), create_objects(), VTracking::get_playback_engine(), VWindowSlider::handle_event(), MWindow::load_filenames(), VWindowEditing::next_label(), VWindowEditing::prev_label(), MWindow::redo_entry(), MWindow::undo_entry(), update_position(), and ~VWindow().

VWindow* VWindow::vwindow
 

Definition at line 61 of file vwindow.h.


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