TrackCanvas Class Reference

#include <trackcanvas.h>

Inherits BC_SubWindow.

Collaboration diagram for TrackCanvas:

Collaboration graph
[legend]

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 &center_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)
ResourcePixmapcreate_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

MWindowmwindow
MWindowGUIgui
ArrayList< ResourcePixmap * > resource_pixmaps
BC_Pixmapbackground_pixmap
BC_DragWindowdrag_popup
BC_Pixmaptransition_pixmap
EditHandlesedit_handles
BC_Pixmapkeyframe_pixmap
BC_Pixmapcamerakeyframe_pixmap
BC_Pixmapmodekeyframe_pixmap
BC_Pixmappankeyframe_pixmap
BC_Pixmapprojectorkeyframe_pixmap
BC_Pixmapmaskkeyframe_pixmap
int active
int drag_scroll
int hourglass_enabled
VFrametemp_picon
Timerresource_timer
ArrayList< PluginOn * > plugin_on_toggles
ArrayList< PluginShow * > plugin_show_toggles
ResourceThreadresource_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

Detailed Description

Definition at line 26 of file trackcanvas.h.


Constructor & Destructor Documentation

TrackCanvas::TrackCanvas ( MWindow mwindow,
MWindowGUI gui 
)

TrackCanvas::~TrackCanvas (  ) 


Member Function Documentation

int TrackCanvas::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().

Here is the call graph for this function:

int TrackCanvas::drag_start_event (  )  [virtual]

int TrackCanvas::drag_motion_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 308 of file trackcanvas.C.

References drag_motion().

Here is the call graph for this function:

int TrackCanvas::cursor_leave_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 313 of file trackcanvas.C.

int TrackCanvas::drag_stop_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 323 of file trackcanvas.C.

References drag_popup, and drag_stop().

Here is the call graph for this function:

int TrackCanvas::keypress_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 131 of file trackcanvas.C.

void TrackCanvas::draw_resources ( int  mode = 0,
int  indexes_only = 0,
Asset index_asset = 0 
)

void TrackCanvas::draw_highlight_rectangle ( int  x,
int  y,
int  w,
int  h 
)

void TrackCanvas::draw_highlight_insertion ( int  x,
int  y,
int  w,
int  h 
)

void TrackCanvas::draw_playback_cursor (  ) 

Definition at line 1405 of file trackcanvas.C.

Referenced by draw_overlays().

void TrackCanvas::draw_highlighting (  ) 

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

Here is the call graph for this function:

void TrackCanvas::update_handles (  ) 

void TrackCanvas::get_transition_coords ( int64_t &  x,
int64_t &  y,
int64_t &  w,
int64_t &  h 
)

void TrackCanvas::get_handle_coords ( Edit edit,
int64_t &  x,
int64_t &  y,
int64_t &  w,
int64_t &  h,
int  side 
)

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

Definition at line 5277 of file trackcanvas.C.

Referenced by draw_indexes().

void TrackCanvas::draw_inout_points (  ) 

Definition at line 1828 of file trackcanvas.C.

Referenced by draw_overlays().

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

Here is the call graph for this function:

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

Here is the call graph for this function:

int TrackCanvas::test_auto ( Auto current,
int  x,
int  y,
int  center_pixel,
int  zoom_track,
int  cursor_x,
int  cursor_y,
int  buttonpress 
)

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 
)

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 
)

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 
)

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

Here is the call graph for this function:

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 
)

int TrackCanvas::do_keyframes ( int  cursor_x,
int  cursor_y,
int  draw,
int  buttonpress,
int &  new_cursor,
int &  update_cursor,
int &  rerender 
)

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 
)

int TrackCanvas::do_toggle_autos ( Track track,
Autos autos,
int  cursor_x,
int  cursor_y,
int  draw,
int  buttonpress,
int  color,
Auto *&  auto_instance 
)

int TrackCanvas::do_autos ( Track track,
Autos autos,
int  cursor_x,
int  cursor_y,
int  draw,
int  buttonpress,
BC_Pixmap pixmap,
Auto *&  auto_instance 
)

int TrackCanvas::do_plugin_autos ( Track track,
int  cursor_x,
int  cursor_y,
int  draw,
int  buttonpress,
Plugin *&  keyframe_plugin,
KeyFrame *&  keyframe_instance 
)

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 
)

float TrackCanvas::percentage_to_value ( float  percentage,
int  is_toggle,
Auto reference,
int  autogrouptype 
)

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 
)

void TrackCanvas::synchronize_autos ( float  change,
Track skip,
FloatAuto fauto,
int  fill_gangs 
)

void TrackCanvas::draw_brender_start (  ) 

void TrackCanvas::draw_loop_points (  ) 

void TrackCanvas::draw_transitions (  ) 

void TrackCanvas::draw_drag_handle (  ) 

void TrackCanvas::draw_plugins (  ) 

void TrackCanvas::refresh_plugintoggles (  ) 

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 
)

void TrackCanvas::draw_indexes ( Asset asset  ) 

void TrackCanvas::edit_dimensions ( Edit edit,
int64_t &  x,
int64_t &  y,
int64_t &  w,
int64_t &  h 
)

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

Here is the call graph for this function:

void TrackCanvas::plugin_dimensions ( Plugin plugin,
int64_t &  x,
int64_t &  y,
int64_t &  w,
int64_t &  h 
)

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 
)

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

Here is the call graph for this function:

int TrackCanvas::set_index_file ( int  flash,
Asset asset 
)

Definition at line 5282 of file trackcanvas.C.

void TrackCanvas::update_cursor (  ) 

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 
)

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 
)

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 
)

int TrackCanvas::do_tracks ( int  cursor_x,
int  cursor_y,
int  button_press 
)

int TrackCanvas::test_resources ( int  cursor_x,
int  cursor_y 
)

Definition at line 4717 of file trackcanvas.C.

Referenced by button_press_event().

int TrackCanvas::do_plugins ( int  cursor_x,
int  cursor_y,
int  drag_start,
int  button_press,
int &  redraw,
int &  rerender 
)

int TrackCanvas::do_transitions ( int  cursor_x,
int  cursor_y,
int  button_press,
int &  new_cursor,
int &  update_cursor 
)

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.

Here is the call graph for this function:

int TrackCanvas::button_release_event (  )  [virtual]

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

Here is the call graph for this function:

int TrackCanvas::activate (  )  [virtual]

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

Here is the call graph for this function:

int TrackCanvas::repeat_event ( int64_t  duration  )  [virtual]

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

Here is the call graph for this function:

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

Here is the call graph for this function:

int TrackCanvas::start_selection ( double  position  ) 

int TrackCanvas::drag_motion (  ) 

int TrackCanvas::drag_stop (  ) 

int64_t TrackCanvas::get_drop_position ( int *  is_insertion,
Edit moved_edit,
int64_t  moved_edit_length 
)

void TrackCanvas::end_edithandle_selection (  ) 

Definition at line 5219 of file trackcanvas.C.

References MWindow::modify_edithandles(), and mwindow.

Referenced by button_release_event().

Here is the call graph for this function:

void TrackCanvas::end_pluginhandle_selection (  ) 

Definition at line 5224 of file trackcanvas.C.

References MWindow::modify_pluginhandles(), and mwindow.

Referenced by button_release_event().

Here is the call graph for this function:

double TrackCanvas::time_visible (  ) 

void TrackCanvas::update_drag_handle (  ) 

int TrackCanvas::update_drag_edit (  ) 

Definition at line 3596 of file trackcanvas.C.

int TrackCanvas::update_drag_floatauto ( int  cursor_x,
int  cursor_y 
)

int TrackCanvas::update_drag_toggleauto ( int  cursor_x,
int  cursor_y 
)

int TrackCanvas::update_drag_auto ( int  cursor_x,
int  cursor_y 
)

int TrackCanvas::update_drag_pluginauto ( int  cursor_x,
int  cursor_y 
)

void TrackCanvas::update_drag_caption (  ) 

Definition at line 3925 of file trackcanvas.C.

References MainSession::current_operation, mwindow, and MWindow::session.

Referenced by do_keyframes().

int TrackCanvas::get_title_h (  ) 

int TrackCanvas::resource_h (  ) 

Definition at line 1301 of file trackcanvas.C.

References MWindow::edl, EDL::local_session, mwindow, and LocalSession::zoom_track.

Referenced by edit_dimensions().

void TrackCanvas::test_timer (  ) 

Definition at line 779 of file trackcanvas.C.

References Timer::get_difference(), hourglass_enabled, resource_timer, and BC_WindowBase::start_hourglass().

Referenced by ResourcePixmap::draw_audio_source(), and ResourcePixmap::draw_video_resource().

Here is the call graph for this function:

int TrackCanvas::button_release (  ) 

Definition at line 5288 of file trackcanvas.C.

int TrackCanvas::draw_playback_cursor ( int  pixel,
int  flash = 1 
)

Definition at line 5310 of file trackcanvas.C.

int TrackCanvas::draw_loop_point ( int64_t  position,
int  flash 
)

Definition at line 5305 of file trackcanvas.C.

void TrackCanvas::draw_paste_destination (  ) 

int TrackCanvas::draw_floating_handle ( int  flash  ) 

Definition at line 5300 of file trackcanvas.C.

int TrackCanvas::end_translation (  )  [private]

Definition at line 5321 of file trackcanvas.C.

int TrackCanvas::auto_reposition ( int &  cursor_x,
int &  cursor_y,
int64_t  cursor_position 
) [private]

Definition at line 5294 of file trackcanvas.C.

int TrackCanvas::update_selection ( int64_t  cursor_position  )  [private]

int TrackCanvas::update_handle_selection ( int64_t  cursor_position  )  [private]

Definition at line 5316 of file trackcanvas.C.


Field Documentation

Definition at line 319 of file trackcanvas.h.

Referenced by create_objects(), draw(), draw_overlays(), draw_resources(), and ~TrackCanvas().

Definition at line 320 of file trackcanvas.h.

Referenced by do_edits(), do_plugins(), drag_motion(), drag_stop_event(), and TrackCanvas().

Definition at line 321 of file trackcanvas.h.

Definition at line 322 of file trackcanvas.h.

Referenced by create_objects(), and ~TrackCanvas().

Definition at line 324 of file trackcanvas.h.

Referenced by create_objects(), do_plugin_autos(), and ~TrackCanvas().

Definition at line 325 of file trackcanvas.h.

Referenced by create_objects(), and ~TrackCanvas().

Definition at line 326 of file trackcanvas.h.

Referenced by create_objects(), do_keyframes(), and ~TrackCanvas().

Definition at line 327 of file trackcanvas.h.

Referenced by create_objects(), do_keyframes(), and ~TrackCanvas().

Definition at line 328 of file trackcanvas.h.

Referenced by create_objects(), and ~TrackCanvas().

Definition at line 329 of file trackcanvas.h.

Referenced by create_objects(), do_keyframes(), and ~TrackCanvas().

Definition at line 331 of file trackcanvas.h.

Referenced by activate(), button_press_event(), deactivate(), and TrackCanvas().

Definition at line 335 of file trackcanvas.h.

Referenced by draw_resources(), test_timer(), and TrackCanvas().

Definition at line 338 of file trackcanvas.h.

Referenced by TrackCanvas(), and ~TrackCanvas().

Definition at line 340 of file trackcanvas.h.

Referenced by draw_resources(), test_timer(), TrackCanvas(), and ~TrackCanvas().

Definition at line 343 of file trackcanvas.h.

Referenced by draw_plugins(), and refresh_plugintoggles().

Definition at line 344 of file trackcanvas.h.

Referenced by draw_plugins(), and refresh_plugintoggles().

Definition at line 372 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 373 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 375 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 378 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 379 of file trackcanvas.h.

int64_t TrackCanvas::handle_position [private]

Definition at line 380 of file trackcanvas.h.

Definition at line 381 of file trackcanvas.h.

Referenced by TrackCanvas().

int TrackCanvas::handle_mode [private]

Definition at line 382 of file trackcanvas.h.

int TrackCanvas::current_end [private]

Definition at line 384 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 385 of file trackcanvas.h.

Referenced by cursor_motion_event(), repeat_event(), start_selection(), and TrackCanvas().

Definition at line 385 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 386 of file trackcanvas.h.

Referenced by TrackCanvas().

Definition at line 387 of file trackcanvas.h.

Referenced by TrackCanvas().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:47:24 2008 for Cinelerra by  doxygen 1.5.5