#include <trackcanvas.h>
Inherits BC_SubWindow.

Public Member Functions | |
| TrackCanvas (MWindow *mwindow, MWindowGUI *gui) | |
| ~TrackCanvas () | |
| int | create_objects () |
| void | resize_event () |
| int | drag_start_event () |
| int | drag_motion_event () |
| int | cursor_leave_event () |
| int | drag_stop_event () |
| int | keypress_event () |
| void | draw_resources (int mode=0, int indexes_only=0, Asset *index_asset=0) |
| void | draw_highlight_rectangle (int x, int y, int w, int h) |
| void | draw_highlight_insertion (int x, int y, int w, int h) |
| void | draw_playback_cursor () |
| void | draw_highlighting () |
| void | draw_overlays () |
| void | update_handles () |
| void | get_transition_coords (int64_t &x, int64_t &y, int64_t &w, int64_t &h) |
| void | get_handle_coords (Edit *edit, int64_t &x, int64_t &y, int64_t &w, int64_t &h, int side) |
| void | draw_title (Edit *edit, int64_t edit_x, int64_t edit_y, int64_t edit_w, int64_t edit_h) |
| void | draw_automation () |
| void | draw_inout_points () |
| void | draw_auto (Auto *current, int x, int y, int center_pixel, int zoom_track, int color) |
| void | draw_floatauto (Auto *current, int x, int y, int in_x, int in_y, int out_x, int out_y, int center_pixel, int zoom_track, int color) |
| int | test_auto (Auto *current, int x, int y, int center_pixel, int zoom_track, int cursor_x, int cursor_y, int buttonpress) |
| int | test_floatauto (Auto *current, int x, int y, int in_x, int in_y, int out_x, int out_y, int center_pixel, int zoom_track, int cursor_x, int cursor_y, int buttonpress) |
| void | draw_floatline (int center_pixel, FloatAuto *previous, FloatAuto *current, FloatAutos *autos, double unit_start, double zoom_units, double yscale, int ax, int ay, int ax2, int ay2, int color, int autogrouptype) |
| int | test_floatline (int center_pixel, FloatAutos *autos, double unit_start, double zoom_units, double yscale, int x1, int x2, int cursor_x, int cursor_y, int buttonpress, int autogrouptype) |
| void | draw_toggleline (int center_pixel, int ax, int ay, int ax2, int ay2, int color) |
| int | test_toggleline (Autos *autos, int center_pixel, int x1, int y1, int x2, int y2, int cursor_x, int cursor_y, int buttonpress) |
| int | do_keyframes (int cursor_x, int cursor_y, int draw, int buttonpress, int &new_cursor, int &update_cursor, int &rerender) |
| int | do_float_autos (Track *track, Autos *autos, int cursor_x, int cursor_y, int draw, int buttonpress, int color, Auto *&auto_instance, int autogrouptype) |
| int | do_toggle_autos (Track *track, Autos *autos, int cursor_x, int cursor_y, int draw, int buttonpress, int color, Auto *&auto_instance) |
| int | do_autos (Track *track, Autos *autos, int cursor_x, int cursor_y, int draw, int buttonpress, BC_Pixmap *pixmap, Auto *&auto_instance) |
| int | do_plugin_autos (Track *track, int cursor_x, int cursor_y, int draw, int buttonpress, Plugin *&keyframe_plugin, KeyFrame *&keyframe_instance) |
| void | calculate_viewport (Track *track, double &view_start, double &unit_start, double &view_end, double &unit_end, double &yscale, int ¢er_pixel, double &zoom_sample, double &zoom_units) |
| float | percentage_to_value (float percentage, int is_toggle, Auto *reference, int autogrouptype) |
| void | calculate_auto_position (double *x, double *y, double *in_x, double *in_y, double *out_x, double *out_y, Auto *current, double unit_start, double zoom_units, double yscale, int autogrouptype) |
| void | synchronize_autos (float change, Track *skip, FloatAuto *fauto, int fill_gangs) |
| void | draw_brender_start () |
| void | draw_loop_points () |
| void | draw_transitions () |
| void | draw_drag_handle () |
| void | draw_plugins () |
| void | refresh_plugintoggles () |
| void | update_edit_handles (Edit *edit, int64_t edit_x, int64_t edit_y, int64_t edit_w, int64_t edit_h) |
| void | update_transitions () |
| void | update_keyframe_handles (Track *track) |
| void | draw (int mode=0, int hide_cursor=1) |
| void | draw_indexes (Asset *asset) |
| void | edit_dimensions (Edit *edit, int64_t &x, int64_t &y, int64_t &w, int64_t &h) |
| void | track_dimensions (Track *track, int64_t &x, int64_t &y, int64_t &w, int64_t &h) |
| void | plugin_dimensions (Plugin *plugin, int64_t &x, int64_t &y, int64_t &w, int64_t &h) |
| void | get_pixmap_size (Edit *edit, int64_t edit_x, int64_t edit_w, int64_t &pixmap_x, int64_t &pixmap_w, int64_t &pixmap_h) |
| ResourcePixmap * | create_pixmap (Edit *edit, int64_t edit_x, int64_t pixmap_x, int64_t pixmap_w, int64_t pixmap_h) |
| int | set_index_file (int flash, Asset *asset) |
| void | update_cursor () |
| int | do_edit_handles (int cursor_x, int cursor_y, int button_press, int &rerender, int &update_overlay, int &new_cursor, int &update_cursor) |
| int | do_plugin_handles (int cursor_x, int cursor_y, int button_press, int &rerender, int &update_overlay, int &new_cursor, int &update_cursor) |
| int | do_edits (int cursor_x, int cursor_y, int button_press, int drag_start, int &redraw, int &rerender, int &new_cursor, int &update_cursor) |
| int | do_tracks (int cursor_x, int cursor_y, int button_press) |
| int | test_resources (int cursor_x, int cursor_y) |
| int | do_plugins (int cursor_x, int cursor_y, int drag_start, int button_press, int &redraw, int &rerender) |
| int | do_transitions (int cursor_x, int cursor_y, int button_press, int &new_cursor, int &update_cursor) |
| int | button_press_event () |
| int | button_release_event () |
| int | cursor_motion_event () |
| int | activate () |
| int | deactivate () |
| int | repeat_event (int64_t duration) |
| void | start_dragscroll () |
| void | stop_dragscroll () |
| int | start_selection (double position) |
| int | drag_motion () |
| int | drag_stop () |
| int64_t | get_drop_position (int *is_insertion, Edit *moved_edit, int64_t moved_edit_length) |
| void | end_edithandle_selection () |
| void | end_pluginhandle_selection () |
| double | time_visible () |
| void | update_drag_handle () |
| int | update_drag_edit () |
| int | update_drag_floatauto (int cursor_x, int cursor_y) |
| int | update_drag_toggleauto (int cursor_x, int cursor_y) |
| int | update_drag_auto (int cursor_x, int cursor_y) |
| int | update_drag_pluginauto (int cursor_x, int cursor_y) |
| void | update_drag_caption () |
| int | get_title_h () |
| int | resource_h () |
| void | test_timer () |
| int | button_release () |
| int | draw_playback_cursor (int pixel, int flash=1) |
| int | draw_loop_point (int64_t position, int flash) |
| void | draw_paste_destination () |
| int | draw_floating_handle (int flash) |
Data Fields | |
| MWindow * | mwindow |
| MWindowGUI * | gui |
| ArrayList< ResourcePixmap * > | resource_pixmaps |
| BC_Pixmap * | background_pixmap |
| BC_DragWindow * | drag_popup |
| BC_Pixmap * | transition_pixmap |
| EditHandles * | edit_handles |
| BC_Pixmap * | keyframe_pixmap |
| BC_Pixmap * | camerakeyframe_pixmap |
| BC_Pixmap * | modekeyframe_pixmap |
| BC_Pixmap * | pankeyframe_pixmap |
| BC_Pixmap * | projectorkeyframe_pixmap |
| BC_Pixmap * | maskkeyframe_pixmap |
| int | active |
| int | drag_scroll |
| int | hourglass_enabled |
| VFrame * | temp_picon |
| Timer * | resource_timer |
| ArrayList< PluginOn * > | plugin_on_toggles |
| ArrayList< PluginShow * > | plugin_show_toggles |
| ResourceThread * | resource_thread |
Private Member Functions | |
| int | end_translation () |
| int | auto_reposition (int &cursor_x, int &cursor_y, int64_t cursor_position) |
| int | update_selection (int64_t cursor_position) |
| int | update_handle_selection (int64_t cursor_position) |
Private Attributes | |
| int | auto_selected |
| int | translate_selected |
| int | handle_selected |
| int | which_handle |
| int64_t | handle_oldposition |
| int64_t | handle_position |
| int | handle_pixel |
| int | handle_mode |
| int | current_end |
| double | selection_midpoint1 |
| double | selection_midpoint2 |
| int | region_selected |
| int | selection_type |
Definition at line 26 of file trackcanvas.h.
| TrackCanvas::TrackCanvas | ( | MWindow * | mwindow, | |
| MWindowGUI * | gui | |||
| ) |
Definition at line 62 of file trackcanvas.C.
References active, auto_selected, current_end, drag_popup, drag_scroll, handle_pixel, handle_selected, hourglass_enabled, region_selected, resource_thread, resource_timer, selection_midpoint1, selection_midpoint2, selection_type, temp_picon, translate_selected, and which_handle.
| TrackCanvas::~TrackCanvas | ( | ) |
Definition at line 88 of file trackcanvas.C.
References background_pixmap, camerakeyframe_pixmap, edit_handles, keyframe_pixmap, maskkeyframe_pixmap, modekeyframe_pixmap, pankeyframe_pixmap, projectorkeyframe_pixmap, resource_pixmaps, resource_timer, temp_picon, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
| int TrackCanvas::create_objects | ( | ) |
Definition at line 105 of file trackcanvas.C.
References background_pixmap, BC_WindowBase::BC_Pixmap, Theme::camerakeyframe_data, camerakeyframe_pixmap, ResourceThread::create_objects(), draw(), edit_handles, BC_WindowBase::flash(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), Theme::keyframe_data, keyframe_pixmap, Theme::maskkeyframe_data, maskkeyframe_pixmap, Theme::modekeyframe_data, modekeyframe_pixmap, mwindow, Theme::pankeyframe_data, pankeyframe_pixmap, Theme::projectorkeyframe_data, projectorkeyframe_pixmap, resource_thread, MWindow::theme, and update_cursor().
Referenced by MWindowGUI::create_objects().

| void TrackCanvas::resize_event | ( | ) |
Definition at line 123 of file trackcanvas.C.
References draw(), and BC_WindowBase::flash().
Referenced by MWindowGUI::resize_event().

| int TrackCanvas::drag_start_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 271 of file trackcanvas.C.
References MainSession::current_operation, do_edits(), do_plugins(), BC_WindowBase::get_drag_x(), BC_WindowBase::get_drag_y(), BC_WindowBase::is_event_win(), mwindow, MWindow::session, and update_cursor().

| int TrackCanvas::drag_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 308 of file trackcanvas.C.
References drag_motion().

| int TrackCanvas::cursor_leave_event | ( | ) | [virtual] |
| int TrackCanvas::drag_stop_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 323 of file trackcanvas.C.
References drag_popup, and drag_stop().

| int TrackCanvas::keypress_event | ( | ) | [virtual] |
| void TrackCanvas::draw_resources | ( | int | mode = 0, |
|
| int | indexes_only = 0, |
|||
| Asset * | index_asset = 0 | |||
| ) |
Definition at line 804 of file trackcanvas.C.
References background_pixmap, create_pixmap(), ResourcePixmap::draw_data(), BC_Pixmap::draw_pixmap(), edit_dimensions(), ResourcePixmap::edit_id, MWindow::edl, List< TYPE >::first, BC_WindowBase::get_h(), get_pixmap_size(), BC_WindowBase::get_w(), hourglass_enabled, mwindow, NEXT, Asset::path, BC_WindowBase::pixmap, ResourcePixmap::pixmap_h, ResourcePixmap::pixmap_w, ResourcePixmap::pixmap_x, ArrayList< TYPE >::remove(), ArrayList< TYPE >::remove_all_objects(), ResourcePixmap::resize(), resource_pixmaps, resource_thread, resource_timer, EDL::session, EDLSession::show_assets, ResourceThread::start_draw(), ResourceThread::stop_draw(), BC_WindowBase::stop_hourglass(), ArrayList< TYPE >::total, TRACK_AUDIO, EDL::tracks, Timer::update(), ArrayList< TYPE >::values, MWindowGUI::visible(), and ResourcePixmap::visible.
Referenced by draw(), and draw_indexes().

| void TrackCanvas::draw_highlight_rectangle | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 1306 of file trackcanvas.C.
References BLACK, BLUE, BC_WindowBase::draw_rectangle(), BC_WindowBase::draw_triangle_left(), BC_WindowBase::draw_triangle_right(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), GREEN, MIN, RED, BC_WindowBase::set_color(), BC_WindowBase::set_inverse(), BC_WindowBase::set_opaque(), WHITE, and YELLOW.
Referenced by draw_highlighting(), and draw_paste_destination().

| void TrackCanvas::draw_highlight_insertion | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 1347 of file trackcanvas.C.
References BLACK, BLUE, BC_WindowBase::draw_rectangle(), BC_WindowBase::draw_triangle_left(), BC_WindowBase::draw_triangle_right(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), GREEN, MIN, RED, BC_WindowBase::set_color(), BC_WindowBase::set_inverse(), BC_WindowBase::set_opaque(), WHITE, and YELLOW.
Referenced by draw_paste_destination().

| void TrackCanvas::draw_playback_cursor | ( | ) |
| void TrackCanvas::draw_highlighting | ( | ) |
Definition at line 1460 of file trackcanvas.C.
References MainSession::current_operation, Track::data_type, MainSession::drag_plugin, BC_WindowBase::draw_box(), draw_highlight_rectangle(), draw_paste_destination(), edit_dimensions(), MainSession::edit_highlighted, MWindow::edl, EDLSession::frame_rate, BC_WindowBase::get_h(), Track::get_length(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), get_transition_coords(), BC_WindowBase::get_w(), BC_WindowBase::h, List< TYPE >::last, Edit::length, EDL::local_session, mwindow, plugin_dimensions(), MainSession::plugin_highlighted, MainSession::pluginset_highlighted, Units::round(), EDLSession::sample_rate, EDL::session, MWindow::session, Units::to_int64(), TRACK_AUDIO, track_dimensions(), Track::track_h, MainSession::track_highlighted, TRACK_VIDEO, Track::track_w, LocalSession::view_start, MWindowGUI::visible(), BC_WindowBase::w, BC_WindowBase::x, BC_WindowBase::y, and LocalSession::zoom_sample.
Referenced by draw_overlays().

| void TrackCanvas::draw_overlays | ( | ) |
Definition at line 3502 of file trackcanvas.C.
References EDLSession::auto_conf, background_pixmap, MWindowGUI::cursor, do_keyframes(), draw_brender_start(), draw_drag_handle(), draw_highlighting(), draw_inout_points(), draw_loop_points(), BC_WindowBase::draw_pixmap(), draw_playback_cursor(), draw_plugins(), draw_transitions(), MWindow::edl, BC_WindowBase::get_h(), BC_WindowBase::get_w(), gui, mwindow, MainCursor::restore(), EDL::session, AutoConf::transitions, and update_cursor().
Referenced by PreferencesThread::apply_settings(), ZoomTextBox::button_press_event(), button_press_event(), MutePatch::button_press_event(), button_release_event(), CWindow::calculate_affected_auto(), MWindow::clear_automation(), MWindow::clear_default_keyframe(), cursor_motion_event(), PatchBay::cursor_motion_event(), CWindowCanvas::cursor_motion_event(), MWindow::cut_automation(), MWindow::cut_default_keyframe(), drag_motion(), draw(), draw_indexes(), MWindow::expand_autos(), MWindow::fit_autos(), AutoZoom::handle_down_event(), ZoomTextBox::handle_event(), VModePatch::handle_event(), VFadePatch::handle_event(), PluginAutomation::handle_event(), ShowAutomation::handle_event(), ShowTransitions::handle_event(), TitlePatch::handle_event(), GWindowToggle::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraGUI::handle_event(), APanPatch::handle_event(), AFadePatch::handle_event(), AutoZoom::handle_up_event(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::set_brender_start(), MWindow::shrink_autos(), MWindow::straighten_automation(), PluginServer::sync_parameters(), and MWindow::toggle_loop_playback().

| void TrackCanvas::update_handles | ( | ) |
| void TrackCanvas::get_transition_coords | ( | int64_t & | x, | |
| int64_t & | y, | |||
| int64_t & | w, | |||
| int64_t & | h | |||
| ) |
Definition at line 1440 of file trackcanvas.C.
References MWindow::edl, VFrame::get_h(), BC_Theme::get_image(), mwindow, EDL::session, EDLSession::show_titles, and MWindow::theme.
Referenced by do_transitions(), draw_highlighting(), draw_transitions(), and TransitionHandles::update().

| void TrackCanvas::get_handle_coords | ( | Edit * | edit, | |
| int64_t & | x, | |||
| int64_t & | y, | |||
| int64_t & | w, | |||
| int64_t & | h, | |||
| int | side | |||
| ) |
Definition at line 1415 of file trackcanvas.C.
References edit_dimensions(), Theme::edithandlein_data, MWindow::edl, VFrame::get_h(), BC_Theme::get_image(), VFrame::get_w(), mwindow, EDL::session, EDLSession::show_titles, and MWindow::theme.
Referenced by EditHandles::update().

| void TrackCanvas::draw_title | ( | Edit * | edit, | |
| int64_t | edit_x, | |||
| int64_t | edit_y, | |||
| int64_t | edit_w, | |||
| int64_t | edit_h | |||
| ) |
| void TrackCanvas::draw_automation | ( | ) |
| void TrackCanvas::draw_inout_points | ( | ) |
| void TrackCanvas::draw_auto | ( | Auto * | current, | |
| int | x, | |||
| int | y, | |||
| int | center_pixel, | |||
| int | zoom_track, | |||
| int | color | |||
| ) |
Definition at line 2214 of file trackcanvas.C.
References BCTEXTLEN, BLACK, BC_WindowBase::draw_box(), and BC_WindowBase::set_color().
Referenced by do_float_autos(), and do_toggle_autos().

| void TrackCanvas::draw_floatauto | ( | Auto * | current, | |
| int | x, | |||
| int | y, | |||
| int | in_x, | |||
| int | in_y, | |||
| int | out_x, | |||
| int | out_y, | |||
| int | center_pixel, | |||
| int | zoom_track, | |||
| int | color | |||
| ) |
Definition at line 2238 of file trackcanvas.C.
References BCTEXTLEN, BLACK, CLAMP, BC_WindowBase::draw_box(), BC_WindowBase::draw_line(), and BC_WindowBase::set_color().
Referenced by do_float_autos().

| int TrackCanvas::test_auto | ( | Auto * | current, | |
| int | x, | |||
| int | y, | |||
| int | center_pixel, | |||
| int | zoom_track, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | buttonpress | |||
| ) |
Definition at line 2313 of file trackcanvas.C.
References BCTEXTLEN, MainSession::drag_auto, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_percentage, MainSession::drag_start_position, mwindow, Auto::position, MWindow::session, and Auto::value_to_percentage().
Referenced by do_toggle_autos().

| int TrackCanvas::test_floatauto | ( | Auto * | current, | |
| int | x, | |||
| int | y, | |||
| int | in_x, | |||
| int | in_y, | |||
| int | out_x, | |||
| int | out_y, | |||
| int | center_pixel, | |||
| int | zoom_track, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | buttonpress | |||
| ) |
Definition at line 2350 of file trackcanvas.C.
References BCTEXTLEN, BC_WindowBase::ctrl_down(), MainSession::drag_auto, MainSession::drag_handle, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_percentage, MainSession::drag_start_position, Auto::invalue_to_percentage(), mwindow, Auto::outvalue_to_percentage(), Auto::position, MWindow::session, and Auto::value_to_percentage().
Referenced by do_float_autos().

| void TrackCanvas::draw_floatline | ( | int | center_pixel, | |
| FloatAuto * | previous, | |||
| FloatAuto * | current, | |||
| FloatAutos * | autos, | |||
| double | unit_start, | |||
| double | zoom_units, | |||
| double | yscale, | |||
| int | ax, | |||
| int | ay, | |||
| int | ax2, | |||
| int | ay2, | |||
| int | color, | |||
| int | autogrouptype | |||
| ) |
Definition at line 2469 of file trackcanvas.C.
References LocalSession::automation_maxs, LocalSession::automation_mins, AUTOMATIONCLAMPS, BLACK, BC_WindowBase::draw_line(), MWindow::edl, FloatAutos::get_value(), EDL::local_session, MAX, mwindow, BC_WindowBase::prev_y, BC_WindowBase::set_color(), BC_WindowBase::x, and BC_WindowBase::y.
Referenced by do_float_autos().

| int TrackCanvas::test_floatline | ( | int | center_pixel, | |
| FloatAutos * | autos, | |||
| double | unit_start, | |||
| double | zoom_units, | |||
| double | yscale, | |||
| int | x1, | |||
| int | x2, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | buttonpress, | |||
| int | autogrouptype | |||
| ) |
Definition at line 2607 of file trackcanvas.C.
References LocalSession::automation_maxs, LocalSession::automation_mins, AUTOMATIONCLAMPS, BC_WindowBase::ctrl_down(), MainSession::drag_auto, MainSession::drag_handle, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_percentage, MainSession::drag_start_position, MWindow::edl, FloatAutos::get_value(), Autos::insert_auto(), EDL::local_session, mwindow, ListItem< Track >::next, Auto::position, ListItem< Track >::previous, MWindow::session, Auto::value_to_percentage(), and BC_WindowBase::y.
Referenced by do_float_autos().

| void TrackCanvas::draw_toggleline | ( | int | center_pixel, | |
| int | ax, | |||
| int | ay, | |||
| int | ax2, | |||
| int | ay2, | |||
| int | color | |||
| ) |
Definition at line 2662 of file trackcanvas.C.
References BLACK, BC_WindowBase::draw_line(), and BC_WindowBase::set_color().
Referenced by do_toggle_autos().

| int TrackCanvas::test_toggleline | ( | Autos * | autos, | |
| int | center_pixel, | |||
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | buttonpress | |||
| ) |
Definition at line 2683 of file trackcanvas.C.
References MainSession::drag_auto, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_percentage, MainSession::drag_start_position, MWindow::edl, Autos::insert_auto(), EDL::local_session, mwindow, Auto::position, EDLSession::sample_rate, MWindow::session, EDL::session, Track::to_units(), Autos::track, Auto::value_to_percentage(), LocalSession::view_start, and LocalSession::zoom_sample.
Referenced by do_toggle_autos().

| int TrackCanvas::do_keyframes | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | draw, | |||
| int | buttonpress, | |||
| int & | new_cursor, | |||
| int & | update_cursor, | |||
| int & | rerender | |||
| ) |
Definition at line 2028 of file trackcanvas.C.
References BC_PopupMenu::activate_menu(), auto_colors, EDLSession::auto_conf, auto_operations, Automation::autogrouptype(), Track::automation, AutoConf::autos, Automation::autos, MainSession::current_operation, do_autos(), do_float_autos(), do_plugin_autos(), do_toggle_autos(), MainSession::drag_auto, dummy, MWindow::edl, List< TYPE >::first, Autos::get_type(), gui, MWindowGUI::keyframe_menu, maskkeyframe_pixmap, modekeyframe_pixmap, mwindow, ListItem< TYPE >::next, pankeyframe_pixmap, AutoConf::plugins, pre_auto_operations, MWindow::session, EDL::session, EDLSession::show_assets, synchronize_autos(), EDL::tracks, KeyframePopup::update(), update_drag_caption(), and UPRIGHT_ARROW_CURSOR.
Referenced by button_press_event(), cursor_motion_event(), and draw_overlays().

| int TrackCanvas::do_float_autos | ( | Track * | track, | |
| Autos * | autos, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | draw, | |||
| int | buttonpress, | |||
| int | color, | |||
| Auto *& | auto_instance, | |||
| int | autogrouptype | |||
| ) |
Definition at line 2840 of file trackcanvas.C.
References calculate_auto_position(), calculate_viewport(), Autos::default_auto, draw_auto(), draw_floatauto(), draw_floatline(), List< TYPE >::first, BC_WindowBase::get_w(), List< TYPE >::last, NEXT, Auto::position, PREVIOUS, ListItem< Track >::previous, Track::record, test_floatauto(), and test_floatline().
Referenced by do_keyframes().

| int TrackCanvas::do_toggle_autos | ( | Track * | track, | |
| Autos * | autos, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | draw, | |||
| int | buttonpress, | |||
| int | color, | |||
| Auto *& | auto_instance | |||
| ) |
Definition at line 3142 of file trackcanvas.C.
References calculate_viewport(), Autos::default_auto, draw_auto(), draw_toggleline(), List< TYPE >::first, BC_WindowBase::get_w(), List< TYPE >::last, NEXT, Auto::position, PREVIOUS, Track::record, test_auto(), and test_toggleline().
Referenced by do_keyframes().

| int TrackCanvas::do_autos | ( | Track * | track, | |
| Autos * | autos, | |||
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | draw, | |||
| int | buttonpress, | |||
| BC_Pixmap * | pixmap, | |||
| Auto *& | auto_instance | |||
| ) |
Definition at line 3311 of file trackcanvas.C.
References calculate_viewport(), MainSession::drag_auto, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_position, BC_WindowBase::draw_pixmap(), MWindow::edl, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_h(), BC_Pixmap::get_h(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), BC_Pixmap::get_w(), EDL::local_session, mwindow, NEXT, Auto::position, MWindow::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), BC_WindowBase::shift_down(), Autos::track, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by do_keyframes().

| int TrackCanvas::do_plugin_autos | ( | Track * | track, | |
| int | cursor_x, | |||
| int | cursor_y, | |||
| int | draw, | |||
| int | buttonpress, | |||
| Plugin *& | keyframe_plugin, | |||
| KeyFrame *& | keyframe_instance | |||
| ) |
Definition at line 3397 of file trackcanvas.C.
References calculate_viewport(), MainSession::drag_auto, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_start_position, BC_WindowBase::draw_pixmap(), MWindow::edl, Track::expand_view, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_h(), BC_Pixmap::get_h(), VFrame::get_h(), BC_Theme::get_image(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), BC_WindowBase::get_w(), keyframe_pixmap, EDL::local_session, mwindow, ListItem< TYPE >::next, Track::plugin_set, MWindow::session, EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), BC_WindowBase::shift_down(), EDLSession::show_titles, MWindow::theme, ArrayList< TYPE >::total, ArrayList< TYPE >::values, BC_WindowBase::x, BC_WindowBase::y, Track::y_pixel, and LocalSession::zoom_track.
Referenced by do_keyframes().

| void TrackCanvas::calculate_viewport | ( | Track * | track, | |
| double & | view_start, | |||
| double & | unit_start, | |||
| double & | view_end, | |||
| double & | unit_end, | |||
| double & | yscale, | |||
| int & | center_pixel, | |||
| double & | zoom_sample, | |||
| double & | zoom_units | |||
| ) |
Definition at line 2727 of file trackcanvas.C.
References MWindow::edl, VFrame::get_h(), BC_Theme::get_image(), BC_WindowBase::get_w(), EDL::local_session, mwindow, EDLSession::sample_rate, EDL::session, EDLSession::show_titles, MWindow::theme, Track::to_doubleunits(), LocalSession::view_start, Track::y_pixel, LocalSession::zoom_sample, and LocalSession::zoom_track.
Referenced by do_autos(), do_float_autos(), do_plugin_autos(), and do_toggle_autos().

| float TrackCanvas::percentage_to_value | ( | float | percentage, | |
| int | is_toggle, | |||
| Auto * | reference, | |||
| int | autogrouptype | |||
| ) |
Definition at line 2756 of file trackcanvas.C.
References LocalSession::automation_maxs, LocalSession::automation_mins, MWindow::edl, EDL::local_session, mwindow, and FloatAuto::value.
Referenced by update_drag_floatauto(), and update_drag_toggleauto().
| void TrackCanvas::calculate_auto_position | ( | double * | x, | |
| double * | y, | |||
| double * | in_x, | |||
| double * | in_y, | |||
| double * | out_x, | |||
| double * | out_y, | |||
| Auto * | current, | |||
| double | unit_start, | |||
| double | zoom_units, | |||
| double | yscale, | |||
| int | autogrouptype | |||
| ) |
Definition at line 2786 of file trackcanvas.C.
References LocalSession::automation_maxs, LocalSession::automation_mins, FloatAuto::control_in_position, FloatAuto::control_in_value, FloatAuto::control_out_position, FloatAuto::control_out_value, MWindow::edl, EDL::local_session, mwindow, Auto::position, and FloatAuto::value.
Referenced by do_float_autos().
| void TrackCanvas::synchronize_autos | ( | float | change, | |
| Track * | skip, | |||
| FloatAuto * | fauto, | |||
| int | fill_gangs | |||
| ) |
Definition at line 2525 of file trackcanvas.C.
References ArrayList< TYPE >::append(), Autos::autogrouptype, LocalSession::automation_maxs, LocalSession::automation_mins, Auto::autos, CLAMP, FloatAuto::control_in_position, FloatAuto::control_in_value, FloatAuto::control_out_position, FloatAuto::control_out_value, Track::data_type, MainSession::drag_auto_gang, MWindow::edl, List< TYPE >::first, Track::from_units(), Track::gang, Autos::get_auto_at_position(), FloatAutos::get_value(), Autos::insert_auto(), EDL::local_session, mwindow, ListItem< Track >::next, NEXT, Auto::position, ListItem< Track >::previous, ArrayList< TYPE >::remove_all(), Autos::remove_nonsequential(), MWindow::session, ArrayList< TYPE >::total, EDL::tracks, FloatAuto::value, and ArrayList< TYPE >::values.
Referenced by button_release_event(), do_keyframes(), and update_drag_floatauto().

| void TrackCanvas::draw_brender_start | ( | ) |
Definition at line 1958 of file trackcanvas.C.
References EDLSession::brender_start, BC_WindowBase::draw_line(), MWindow::edl, BC_WindowBase::get_h(), BC_WindowBase::get_w(), EDL::local_session, mwindow, MWindow::preferences, RED, Units::round(), EDLSession::sample_rate, EDL::session, BC_WindowBase::set_color(), Preferences::use_brender, LocalSession::view_start, MWindowGUI::visible(), BC_WindowBase::x, and LocalSession::zoom_sample.
Referenced by draw_overlays().

| void TrackCanvas::draw_loop_points | ( | ) |
Definition at line 1923 of file trackcanvas.C.
References BC_WindowBase::draw_line(), MWindow::edl, BC_WindowBase::get_h(), BC_WindowBase::get_w(), GREEN, EDL::local_session, LocalSession::loop_end, LocalSession::loop_playback, LocalSession::loop_start, mwindow, Units::round(), EDLSession::sample_rate, EDL::session, BC_WindowBase::set_color(), LocalSession::view_start, MWindowGUI::visible(), BC_WindowBase::x, and LocalSession::zoom_sample.
Referenced by draw_overlays().

| void TrackCanvas::draw_transitions | ( | ) |
Definition at line 1854 of file trackcanvas.C.
References BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_vframe(), edit_dimensions(), MWindow::edl, List< TYPE >::first, BC_WindowBase::get_h(), VFrame::get_h(), BC_Theme::get_image(), get_transition_coords(), VFrame::get_w(), BC_WindowBase::get_w(), BC_WindowBase::h, left_margin, EDL::local_session, mwindow, ListItem< TYPE >::next, PluginServer::picon, Units::round(), EDLSession::sample_rate, MWindow::scan_plugindb(), EDL::session, EDLSession::show_assets, EDLSession::show_titles, MWindow::theme, EDL::tracks, MWindowGUI::visible(), BC_WindowBase::w, BC_WindowBase::x, BC_WindowBase::y, and LocalSession::zoom_sample.
Referenced by draw_overlays().

| void TrackCanvas::draw_drag_handle | ( | ) |
Definition at line 1833 of file trackcanvas.C.
References MainSession::current_operation, MainSession::drag_position, BC_WindowBase::draw_line(), MWindow::edl, BC_WindowBase::get_h(), GREEN, EDL::local_session, mwindow, Units::round(), EDLSession::sample_rate, EDL::session, MWindow::session, BC_WindowBase::set_color(), BC_WindowBase::set_inverse(), BC_WindowBase::set_opaque(), LocalSession::view_start, and LocalSession::zoom_sample.
Referenced by draw_overlays().

| void TrackCanvas::draw_plugins | ( | ) |
Definition at line 1694 of file trackcanvas.C.
References BC_WindowBase::add_subwindow(), ArrayList< TYPE >::append(), BCTEXTLEN, PluginShow::calculate_w(), PluginOn::calculate_w(), BC_WindowBase::done, BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_text(), MWindow::edl, List< TYPE >::first, BC_WindowBase::get_h(), BC_Theme::get_image(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_ascent(), BC_WindowBase::get_text_width(), BC_WindowBase::get_w(), BC_WindowBase::h, PluginShow::in_use, PluginOn::in_use, left_margin, MAX, MEDIUMFONT_3D, MIN, mwindow, ListItem< TYPE >::next, plugin_dimensions(), plugin_on_toggles, plugin_show_toggles, ArrayList< TYPE >::remove_object_number(), EDL::session, BC_WindowBase::set_color(), BC_WindowBase::set_font(), EDLSession::show_assets, MWindow::theme, ArrayList< TYPE >::total, EDL::tracks, PluginShow::update(), PluginOn::update(), ArrayList< TYPE >::values, MWindowGUI::visible(), BC_WindowBase::w, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by draw_overlays().

| void TrackCanvas::refresh_plugintoggles | ( | ) |
Definition at line 1814 of file trackcanvas.C.
References BC_WindowBase::get_x(), BC_WindowBase::get_y(), plugin_on_toggles, plugin_show_toggles, BC_Toggle::reposition_window(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by MainCursor::draw().

| void TrackCanvas::update_edit_handles | ( | Edit * | edit, | |
| int64_t | edit_x, | |||
| int64_t | edit_y, | |||
| int64_t | edit_w, | |||
| int64_t | edit_h | |||
| ) |
| void TrackCanvas::update_transitions | ( | ) |
| void TrackCanvas::update_keyframe_handles | ( | Track * | track | ) |
| void TrackCanvas::draw | ( | int | mode = 0, |
|
| int | hide_cursor = 1 | |||
| ) |
Definition at line 751 of file trackcanvas.C.
References background_pixmap, BC_WindowBase::BC_Pixmap, MWindowGUI::cursor, draw_overlays(), draw_resources(), BC_WindowBase::draw_top_background(), BC_Pixmap::get_h(), BC_WindowBase::get_h(), BC_WindowBase::get_parent(), BC_Pixmap::get_w(), BC_WindowBase::get_w(), gui, and MainCursor::hide().
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), button_release_event(), create_objects(), MWindow::create_objects(), drag_stop(), TrackScroll::handle_event(), SampleScroll::handle_event(), resize_event(), MWindow::samplemovement(), MWindow::trackmovement(), and MWindow::zoom_amp().

| void TrackCanvas::draw_indexes | ( | Asset * | asset | ) |
Definition at line 790 of file trackcanvas.C.
References draw_automation(), draw_overlays(), draw_resources(), MWindow::edl, BC_WindowBase::flash(), BC_WindowBase::flush(), Asset::index_zoom, EDL::local_session, mwindow, and LocalSession::zoom_sample.
Referenced by IndexFile::redraw_edits().

| void TrackCanvas::edit_dimensions | ( | Edit * | edit, | |
| int64_t & | x, | |||
| int64_t & | y, | |||
| int64_t & | w, | |||
| int64_t & | h | |||
| ) |
Definition at line 1018 of file trackcanvas.C.
References Edit::edits, MWindow::edl, Track::from_units(), VFrame::get_h(), BC_Theme::get_image(), Edit::length, EDL::local_session, mwindow, resource_h(), Units::round(), EDLSession::sample_rate, EDL::session, EDLSession::show_titles, Edit::startproject, MWindow::theme, Edits::track, Edit::track, LocalSession::view_start, Track::y_pixel, and LocalSession::zoom_sample.
Referenced by do_edit_handles(), do_edits(), do_transitions(), drag_motion(), draw_highlighting(), draw_resources(), draw_transitions(), get_drop_position(), get_handle_coords(), and TransitionHandles::update().

| void TrackCanvas::track_dimensions | ( | Track * | track, | |
| int64_t & | x, | |||
| int64_t & | y, | |||
| int64_t & | w, | |||
| int64_t & | h | |||
| ) |
Definition at line 1048 of file trackcanvas.C.
References BC_WindowBase::get_w(), mwindow, MWindow::theme, Track::vertical_span(), and Track::y_pixel.
Referenced by do_tracks(), drag_motion(), draw_highlighting(), and MWindowGUI::keypress_event().

| void TrackCanvas::plugin_dimensions | ( | Plugin * | plugin, | |
| int64_t & | x, | |||
| int64_t & | y, | |||
| int64_t & | w, | |||
| int64_t & | h | |||
| ) |
Definition at line 1283 of file trackcanvas.C.
References MWindow::edl, Track::from_units(), VFrame::get_h(), BC_Theme::get_image(), PluginSet::get_number(), Edit::length, EDL::local_session, mwindow, Plugin::plugin_set, Units::round(), EDLSession::sample_rate, EDL::session, EDLSession::show_titles, Edit::startproject, MWindow::theme, Edit::track, LocalSession::view_start, Track::y_pixel, LocalSession::zoom_sample, and LocalSession::zoom_track.
Referenced by do_plugin_handles(), do_plugins(), drag_motion(), draw_highlighting(), and draw_plugins().

| void TrackCanvas::get_pixmap_size | ( | Edit * | edit, | |
| int64_t | edit_x, | |||
| int64_t | edit_w, | |||
| int64_t & | pixmap_x, | |||
| int64_t & | pixmap_w, | |||
| int64_t & | pixmap_h | |||
| ) |
Definition at line 956 of file trackcanvas.C.
References MWindow::edl, VFrame::get_h(), BC_Theme::get_image(), BC_WindowBase::get_w(), EDL::local_session, mwindow, EDL::session, EDLSession::show_titles, MWindow::theme, and LocalSession::zoom_track.
Referenced by draw_resources().

| ResourcePixmap * TrackCanvas::create_pixmap | ( | Edit * | edit, | |
| int64_t | edit_x, | |||
| int64_t | pixmap_x, | |||
| int64_t | pixmap_w, | |||
| int64_t | pixmap_h | |||
| ) |
Definition at line 923 of file trackcanvas.C.
References ArrayList< TYPE >::append(), ResourcePixmap::edit_id, Edit::id, mwindow, resource_pixmaps, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by draw_resources().

| int TrackCanvas::set_index_file | ( | int | flash, | |
| Asset * | asset | |||
| ) |
Definition at line 5282 of file trackcanvas.C.
| void TrackCanvas::update_cursor | ( | ) |
Definition at line 769 of file trackcanvas.C.
References ARROW_CURSOR, EDLSession::editing_mode, MWindow::edl, IBEAM_CURSOR, mwindow, EDL::session, and BC_WindowBase::set_cursor().
Referenced by button_press_event(), create_objects(), cursor_motion_event(), drag_start_event(), draw_overlays(), and MWindow::set_editing_mode().

| int TrackCanvas::do_edit_handles | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | button_press, | |||
| int & | rerender, | |||
| int & | update_overlay, | |||
| int & | new_cursor, | |||
| int & | update_cursor | |||
| ) |
Definition at line 4415 of file trackcanvas.C.
References MainSession::current_operation, MainSession::drag_button, MainSession::drag_edit, MainSession::drag_handle, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_position, MainSession::drag_start, edit_dimensions(), MWindow::edl, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_buttonpress(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), LEFT_CURSOR, Edit::length, mwindow, ListItem< TYPE >::next, RIGHT_CURSOR, MWindow::session, EDL::session, EDLSession::show_assets, start_selection(), Edit::startproject, Edit::track, and EDL::tracks.
Referenced by button_press_event(), and cursor_motion_event().

| int TrackCanvas::do_plugin_handles | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | button_press, | |||
| int & | rerender, | |||
| int & | update_overlay, | |||
| int & | new_cursor, | |||
| int & | update_cursor | |||
| ) |
Definition at line 4500 of file trackcanvas.C.
References MainSession::current_operation, MainSession::drag_button, MainSession::drag_handle, MainSession::drag_origin_x, MainSession::drag_origin_y, MainSession::drag_plugin, MainSession::drag_position, MainSession::drag_start, MWindow::edl, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_buttonpress(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), LEFT_CURSOR, Edit::length, mwindow, ListItem< TYPE >::next, plugin_dimensions(), Track::plugin_set, RIGHT_CURSOR, MWindow::session, EDL::session, BC_WindowBase::shift_down(), EDLSession::show_assets, start_selection(), Edit::startproject, Edit::track, EDL::tracks, MainSession::trim_edits, and ArrayList< TYPE >::values.
Referenced by button_press_event(), and cursor_motion_event().

| int TrackCanvas::do_edits | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | button_press, | |||
| int | drag_start, | |||
| int & | redraw, | |||
| int & | rerender, | |||
| int & | new_cursor, | |||
| int & | update_cursor | |||
| ) |
Definition at line 4618 of file trackcanvas.C.
References EDL::align_to_frame(), ArrayList< TYPE >::append(), BC_WindowBase::BC_DragWindow, BC_WindowBase::ctrl_down(), MainSession::current_operation, EDLSession::cursor_on_frames, MainSession::drag_edit, MainSession::drag_edits, MainSession::drag_origin_x, MainSession::drag_origin_y, drag_popup, MainSession::drag_position, edit_dimensions(), EDLSession::editing_mode, MWindow::edl, List< TYPE >::first, BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), Tracks::get_affected_edits(), BC_WindowBase::get_double_click(), VFrame::get_h(), BC_Theme::get_image(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), VFrame::get_w(), gui, EDL::local_session, mwindow, ListItem< TYPE >::next, ArrayList< TYPE >::remove_all(), EDLSession::sample_rate, MWindow::session, EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), EDLSession::show_assets, MWindow::theme, EDL::tracks, LocalSession::view_start, and LocalSession::zoom_sample.
Referenced by button_press_event(), cursor_motion_event(), and drag_start_event().

| int TrackCanvas::do_tracks | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | button_press | |||
| ) |
Definition at line 4588 of file trackcanvas.C.
References BC_PopupMenu::activate_menu(), MWindowGUI::edit_menu, MWindow::edl, List< TYPE >::first, BC_WindowBase::get_buttonpress(), gui, mwindow, ListItem< TYPE >::next, EDL::session, EDLSession::show_assets, track_dimensions(), Track::track_h, Track::track_w, EDL::tracks, and EditPopup::update().
Referenced by button_press_event().

| int TrackCanvas::test_resources | ( | int | cursor_x, | |
| int | cursor_y | |||
| ) |
| int TrackCanvas::do_plugins | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | drag_start, | |||
| int | button_press, | |||
| int & | redraw, | |||
| int & | rerender | |||
| ) |
Definition at line 4722 of file trackcanvas.C.
References BC_PopupMenu::activate_menu(), EDL::align_to_frame(), BC_WindowBase::BC_DragWindow, MainSession::current_operation, EDLSession::cursor_on_frames, Track::data_type, BC_WindowBase::done, MainSession::drag_plugin, drag_popup, EDLSession::editing_mode, MWindow::edl, Track::expand_view, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), BC_WindowBase::get_buttonpress(), BC_WindowBase::get_double_click(), VFrame::get_h(), BC_WindowBase::get_h(), BC_Theme::get_image(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), VFrame::get_w(), BC_WindowBase::get_w(), gui, BC_WindowBase::h, Edit::length, EDL::local_session, mwindow, ListItem< TYPE >::next, PluginServer::picon, plugin_dimensions(), MWindowGUI::plugin_menu, Track::plugin_set, Plugin::plugin_type, Track::record, MWindow::scan_plugindb(), MWindow::session, EDL::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), EDLSession::show_assets, Edit::startproject, MWindow::theme, Plugin::title, ArrayList< TYPE >::total, Edit::track, TRACK_AUDIO, TRACK_VIDEO, EDL::tracks, PluginPopup::update(), ArrayList< TYPE >::values, MWindowGUI::visible(), BC_WindowBase::w, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by button_press_event(), and drag_start_event().

| int TrackCanvas::do_transitions | ( | int | cursor_x, | |
| int | cursor_y, | |||
| int | button_press, | |||
| int & | new_cursor, | |||
| int & | update_cursor | |||
| ) |
Definition at line 4857 of file trackcanvas.C.
References BC_PopupMenu::activate_menu(), EDLSession::auto_conf, edit_dimensions(), MWindow::edl, List< TYPE >::first, BC_WindowBase::get_buttonpress(), BC_WindowBase::get_h(), get_transition_coords(), BC_WindowBase::get_w(), gui, BC_WindowBase::h, mwindow, ListItem< TYPE >::next, EDL::session, EDLSession::show_assets, EDL::tracks, Edit::transition, MWindowGUI::transition_menu, AutoConf::transitions, TransitionPopup::update(), UPRIGHT_ARROW_CURSOR, MWindowGUI::visible(), BC_WindowBase::w, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by button_press_event(), and cursor_motion_event().

| int TrackCanvas::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 4920 of file trackcanvas.C.
References activate(), active, EDLSession::auto_conf, BC_WindowBase::ctrl_down(), MainSession::current_operation, MWindowGUI::cursor, BC_WindowBase::cursor_inside(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, MWindow::cwindow, do_edit_handles(), do_edits(), do_keyframes(), do_plugin_handles(), do_plugins(), do_tracks(), do_transitions(), draw_overlays(), EDLSession::editing_mode, MWindow::edl, MWindow::expand_sample(), BC_WindowBase::flash(), BC_WindowBase::get_buttonpress(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), gui, PlayTransport::handle_transport(), MainCursor::hide(), BC_WindowBase::is_event_win(), EDL::local_session, BC_WindowBase::lock_window(), MWindowGUI::mbuttons, MWindow::move_down(), MWindow::move_left(), MWindow::move_right(), MWindow::move_up(), mwindow, MWindowGUI::patchbay, EDLSession::sample_rate, EDL::session, MWindow::session, SET_TRACE, BC_WindowBase::shift_down(), MainCursor::show(), start_selection(), STOP, test_resources(), MWindowGUI::timebar, AutoConf::transitions, MButtons::transport, MainSession::trim_edits, BC_WindowBase::unlock_window(), ZoomBar::update(), PatchBay::update(), CWindow::update(), update_cursor(), TimeBar::update_highlights(), MWindow::update_plugin_guis(), LocalSession::view_start, MWindow::zoom_in_sample(), LocalSession::zoom_sample, and MWindowGUI::zoombar.

| int TrackCanvas::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 4312 of file trackcanvas.C.
References _, Auto::autos, MainSession::current_operation, cursor_motion_event(), MainSession::drag_auto, MainSession::drag_handle, drag_scroll, draw(), draw_overlays(), end_edithandle_selection(), end_pluginhandle_selection(), BC_WindowBase::flash(), mwindow, Autos::remove_nonsequential(), MWindow::session, synchronize_autos(), MWindow::undo, and MainUndo::update_undo().

| int TrackCanvas::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 3937 of file trackcanvas.C.
References EDL::align_to_frame(), ARROW_CURSOR, MainSession::current_operation, MWindowGUI::cursor, BC_WindowBase::cursor_inside(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, MWindow::cwindow, do_edit_handles(), do_edits(), do_keyframes(), do_plugin_handles(), do_transitions(), MainSession::drag_origin_x, drag_scroll, MainCursor::draw(), draw_overlays(), EDLSession::editing_mode, MWindow::edl, BC_WindowBase::flash(), BC_WindowBase::get_cursor(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), gui, MainCursor::hide(), IBEAM_CURSOR, BC_WindowBase::is_event_win(), PlaybackEngine::is_playing_back, EDL::local_session, BC_WindowBase::lock_window(), MWindowGUI::mainclock, MAX, mwindow, MWindowGUI::patchbay, CWindow::playback_engine, MWindow::restart_brender(), EDLSession::sample_rate, selection_midpoint1, MWindow::session, EDL::session, BC_WindowBase::set_cursor(), LocalSession::set_selectionend(), LocalSession::set_selectionstart(), start_dragscroll(), stop_dragscroll(), MWindow::sync_parameters(), BC_WindowBase::unlock_window(), ZoomBar::update(), MainClock::update(), PatchBay::update(), CWindow::update(), update_cursor(), update_drag_floatauto(), update_drag_handle(), update_drag_pluginauto(), update_drag_toggleauto(), MWindow::update_plugin_guis(), LocalSession::view_start, LocalSession::zoom_sample, and MWindowGUI::zoombar.
Referenced by button_release_event().

| int TrackCanvas::activate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 3551 of file trackcanvas.C.
References MainCursor::activate(), active, MWindowGUI::cursor, BC_WindowBase::deactivate(), BC_WindowBase::get_top_level(), gui, and BC_WindowBase::set_active_subwindow().
Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), button_press_event(), TimeBar::button_press_event(), MWindowGUI::create_objects(), MWindow::goto_end(), MWindow::goto_start(), MWindow::select_all(), MTimeBar::select_label(), TimeBar::select_region(), and MWindow::toggle_label().

| int TrackCanvas::deactivate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 3563 of file trackcanvas.C.
References active, MWindowGUI::cursor, MainCursor::deactivate(), and gui.
Referenced by CPlayback::init_cursor().

| int TrackCanvas::repeat_event | ( | int64_t | duration | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 4220 of file trackcanvas.C.
References EDL::align_to_frame(), MainSession::current_operation, MWindow::cwindow, drag_scroll, MWindow::edl, BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_w(), gui, EDL::local_session, BC_WindowBase::lock_window(), MAX, mwindow, MWindowGUI::patchbay, EDLSession::sample_rate, MWindow::samplemovement(), selection_midpoint1, EDL::session, MWindow::session, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), LocalSession::track_start, MWindow::trackmovement(), BC_WindowBase::unlock_window(), PatchBay::update(), CWindow::update(), MWindow::update_plugin_guis(), LocalSession::view_start, and LocalSession::zoom_sample.

| void TrackCanvas::start_dragscroll | ( | ) |
Definition at line 4200 of file trackcanvas.C.
References drag_scroll, BC_WindowBase::get_resources(), and BC_WindowBase::set_repeat().
Referenced by cursor_motion_event(), and TimeBar::cursor_motion_event().

| void TrackCanvas::stop_dragscroll | ( | ) |
Definition at line 4210 of file trackcanvas.C.
References drag_scroll, BC_WindowBase::get_resources(), and BC_WindowBase::unset_repeat().
Referenced by TimeBar::button_release_event(), cursor_motion_event(), and TimeBar::cursor_motion_event().

| int TrackCanvas::start_selection | ( | double | position | ) |
Definition at line 5179 of file trackcanvas.C.
References EDL::align_to_frame(), MWindow::edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), EDL::local_session, mwindow, selection_midpoint1, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), and BC_WindowBase::shift_down().
Referenced by button_press_event(), do_edit_handles(), and do_plugin_handles().

| int TrackCanvas::drag_motion | ( | ) |
Definition at line 139 of file trackcanvas.C.
References MainSession::current_operation, BC_DragWindow::cursor_motion_event(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, drag_popup, draw_overlays(), edit_dimensions(), MainSession::edit_highlighted, MWindow::edl, List< TYPE >::first, BC_WindowBase::flash(), BC_WindowBase::get_cursor_over_window(), BC_WindowBase::get_h(), BC_WindowBase::get_relative_cursor_x(), BC_WindowBase::get_relative_cursor_y(), BC_WindowBase::get_w(), MWindow::gui, PatchBay::is_over_track(), List< TYPE >::last, BC_WindowBase::lock_window(), mwindow, ListItem< TYPE >::next, MWindowGUI::patchbay, plugin_dimensions(), MainSession::plugin_highlighted, MainSession::pluginset_highlighted, MWindow::session, track_dimensions(), Track::track_h, MainSession::track_highlighted, Track::track_w, EDL::tracks, and BC_WindowBase::unlock_window().
Referenced by MWindowGUI::drag_motion(), and drag_motion_event().

| int TrackCanvas::drag_stop | ( | ) |
Definition at line 336 of file trackcanvas.C.
References Asset::audio_data, Asset::audio_length, MainSession::current_operation, MWindowGUI::cursor, Track::data_type, MainSession::drag_assets, MainSession::drag_clips, MainSession::drag_edit, MainSession::drag_edits, MainSession::drag_plugin, draw(), MainSession::edit_highlighted, MWindow::edl, BC_WindowBase::flash(), BC_WindowBase::flush(), Asset::frame_rate, EDLSession::frame_rate, Track::from_units(), get_drop_position(), Track::get_length(), MWindowGUI::get_scrollbars(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, MWindow::insert_effects_canvas(), List< TYPE >::last, Edit::length, EDL::local_session, MWindow::move_edits(), MWindow::move_effect(), mwindow, NULL, MWindow::paste_assets(), MWindow::paste_transition(), MWindowGUI::patchbay, MainSession::plugin_highlighted, Track::plugin_set, Plugin::plugin_set, MainSession::pluginset_highlighted, Asset::sample_rate, EDL::session, MWindow::session, EDLSession::si_duration, EDLSession::si_useduration, Edit::startproject, MWindow::theme, Track::to_units(), ArrayList< TYPE >::total, Tracks::total_length(), Edit::track, TRACK_AUDIO, MainSession::track_highlighted, TRACK_VIDEO, EDL::tracks, MainCursor::update(), PatchBay::update(), Tracks::update_y_pixels(), ArrayList< TYPE >::values, Asset::video_data, and Asset::video_length.
Referenced by MWindowGUI::drag_stop(), and drag_stop_event().

| int64_t TrackCanvas::get_drop_position | ( | int * | is_insertion, | |
| Edit * | moved_edit, | |||
| int64_t | moved_edit_length | |||
| ) |
Definition at line 603 of file trackcanvas.C.
References Edit::asset, BC_WindowBase::cursor_x, MainSession::drag_position, edit_dimensions(), Track::edits, MWindow::edl, List< TYPE >::first, Track::from_units(), BC_WindowBase::get_relative_cursor_x(), List< TYPE >::last, Edit::length, LL, EDL::local_session, mwindow, ListItem< TYPE >::previous, EDLSession::sample_rate, MWindow::session, EDL::session, Edit::startproject, Track::to_units(), Edit::track, MainSession::track_highlighted, LocalSession::view_start, and LocalSession::zoom_sample.
Referenced by drag_stop(), and draw_paste_destination().

| void TrackCanvas::end_edithandle_selection | ( | ) |