#include <viewer.h>

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 () |
| EDL * | get_edl () |
| Asset * | get_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 () |
Data Fields | |
| MWindow * | mwindow |
| VTracking * | playback_cursor |
| MWindow * | mwindow |
| VWindow * | vwindow |
| VWindowGUI * | gui |
| VPlayback * | playback_engine |
| ClipEdit * | clip_edit |
| Asset * | asset |
Definition at line 7 of file viewer.h.
| 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 | ( | ) |
| void VWindow::load_defaults | ( | ) |
| int VWindow::create_objects | ( | ) |
Definition at line 61 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::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 86 of file vwindow.C.
References gui, and BC_WindowBase::run_window().

| void VWindow::change_source | ( | Asset * | asset | ) |
Definition at line 118 of file vwindow.C.
References MWindow::asset_to_edl(), EDL::assets, BCTEXTLEN, VWindowGUI::change_source(), EDL::create_objects(), delete_edl(), MWindow::edl, Asset::equivalent(), FileSystem::extract_name(), List< TYPE >::first, gui, mwindow, NEXT, Asset::path, EDL::session, update_position(), EDL::vwindow_edl, EDL::vwindow_edl_shared, EDLSession::vwindow_folder, and EDLSession::vwindow_source.
Referenced by VWindowGUI::drag_stop(), AWindowAssets::handle_event(), AssetPopupView::handle_event(), and MWindow::update_project().

| void VWindow::change_source | ( | EDL * | edl | ) |
Definition at line 169 of file vwindow.C.
References _, asset, VWindowGUI::change_source(), LocalSession::clip_title, EDL::clips, delete_edl(), MWindow::edl, gui, EDL::id, EDL::local_session, mwindow, ArrayList< TYPE >::number_of(), EDL::session, update_position(), EDL::vwindow_edl, EDL::vwindow_edl_shared, EDLSession::vwindow_folder, and EDLSession::vwindow_source.

| void VWindow::change_source | ( | ) |
Definition at line 102 of file vwindow.C.
References asset, VWindowGUI::change_source(), Garbage::delete_object(), MWindow::edl, get_edl(), gui, mwindow, update_position(), EDL::vwindow_edl, and EDL::vwindow_edl_shared.
Referenced by change_source().

| void VWindow::change_source | ( | char * | folder, | |
| int | item | |||
| ) |
Definition at line 206 of file vwindow.C.
References EDL::assets, change_source(), EDL::clips, MWindow::edl, List< TYPE >::get_item_number(), mwindow, remove_source(), and ArrayList< TYPE >::values.

| void VWindow::remove_source | ( | ) |
Definition at line 200 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().

| EDL * VWindow::get_edl | ( | ) |
Definition at line 91 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().
| Asset * VWindow::get_asset | ( | ) |
Definition at line 97 of file vwindow.C.
References asset.
Referenced by MWindow::remove_assets_from_project().
| void VWindow::update | ( | int | do_timebar | ) |
Definition at line 268 of file vwindow.C.
References gui, VWindowGUI::timebar, and TimeBar::update().
Referenced by MWindow::update_project().

| void VWindow::update_position | ( | int | change_type = CHANGE_NONE, |
|
| int | use_slider = 1, |
|||
| int | update_slider = 0 | |||
| ) |
Definition at line 274 of file vwindow.C.
References asset, EDL::assets, VWindowGUI::clock, List< TYPE >::first, Asset::frame_rate, get_edl(), LocalSession::get_selectionstart(), BC_FSlider::get_value(), 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().

| void VWindow::set_inpoint | ( | ) |
Definition at line 304 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 314 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::clear_inpoint | ( | ) |
Definition at line 324 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 334 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 344 of file vwindow.C.
References EDL::copy(), Thread::end(), BC_WindowBase::get_clipboard(), get_edl(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), MWindow::gui, EDL::local_session, BC_WindowBase::lock_window(), mwindow, MWindow::plugindb, SECONDARY_SELECTION, Thread::start(), FileXML::string, BC_Clipboard::to_clipboard(), and BC_WindowBase::unlock_window().
Referenced by VWindowEditing::copy_selection().

| void VWindow::delete_edl | ( | ) |
Definition at line 42 of file vwindow.C.
References asset, Garbage::delete_object(), MWindow::edl, mwindow, EDL::vwindow_edl, and EDL::vwindow_edl_shared.
Referenced by change_source(), remove_source(), and ~VWindow().

| void VWindow::goto_start | ( | ) |
Definition at line 243 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::goto_end | ( | ) |
Definition at line 255 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().

Definition at line 13 of file viewer.h.
Referenced by change_source(), copy(), create_objects(), delete_edl(), and get_edl().
Definition at line 57 of file vwindow.h.
Referenced by create_objects(), VPlayback::init_cursor(), VPlayback::stop_cursor(), and ~VWindow().
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::to_clip(), VWindowEditing::toggle_label(), MWindow::undo_entry(), update(), VTracking::update_meters(), update_position(), and VTracking::update_tracker().
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::remove_asset_from_caches(), MWindow::reset_caches(), MWindow::undo_entry(), update_position(), and ~VWindow().
Definition at line 64 of file vwindow.h.
Referenced by create_objects(), VWindowEditing::to_clip(), and ~VWindow().
Definition at line 68 of file vwindow.h.
Referenced by change_source(), delete_edl(), VWindowGUI::drag_stop(), get_asset(), update_position(), and VWindow().
1.5.5