#include <timebar.h>
Inheritance diagram for TimeBar:

Public Member Functions | |
| TimeBar (MWindow *mwindow, BC_WindowBase *gui, int x, int y, int w, int h) | |
| virtual | ~TimeBar () |
| int | create_objects () |
| int | update_defaults () |
| int | button_press_event () |
| int | button_release_event () |
| int | cursor_motion_event () |
| int | repeat_event (int64_t duration) |
| void | update (int do_range=1, int do_others=1) |
| virtual void | draw_time () |
| virtual void | draw_range () |
| virtual void | select_label (double position) |
| virtual void | stop_playback () |
| virtual EDL * | get_edl () |
| virtual int | test_preview (int buttonpress) |
| virtual void | update_preview () |
| virtual int64_t | position_to_pixel (double position) |
| int | move_preview (int &redraw) |
| void | update_labels () |
| void | update_points () |
| void | update_presentations () |
| void | update_highlights () |
| void | update_cursor () |
| int | save (FileXML *xml) |
| int | load (FileXML *xml, int undo_type) |
| int | delete_project () |
| int | draw () |
| int | samplemovement () |
| int | refresh_labels () |
| int | select_region (double position) |
| void | get_edl_length () |
| int | flip_vertical (int w, int h) |
| int | delete_arrows () |
Public Attributes | |
| MWindow * | mwindow |
| BC_WindowBase * | gui |
| int | current_operation |
Private Member Functions | |
| int | get_preview_pixels (int &x1, int &x2) |
| int | draw_bevel () |
Private Attributes | |
| ArrayList< LabelGUI * > | labels |
| InPointGUI * | in_point |
| OutPointGUI * | out_point |
| ArrayList< PresentationGUI * > | presentations |
| double | start_position |
| double | starting_start_position |
| double | starting_end_position |
| double | time_per_pixel |
| double | edl_length |
| int | start_cursor_x |
Definition at line 93 of file timebar.h.
|
||||||||||||||||||||||||||||
|
|
|
|
Definition at line 164 of file timebar.C. References in_point, labels, out_point, and presentations. |
|
|
Definition at line 688 of file timebar.C. References TrackCanvas::activate(), MWindowGUI::canvas, MWindow::edl, MWindow::gui, EDL::local_session, mwindow, MWindow::next_time_format(), MWindow::prev_time_format(), EDLSession::sample_rate, select_region(), EDL::session, stop_playback(), test_preview(), update_cursor(), LocalSession::view_start, and LocalSession::zoom_sample. |
|
|
Definition at line 821 of file timebar.C. References _, MWindowGUI::canvas, current_operation, MWindow::gui, mwindow, TrackCanvas::stop_dragscroll(), TIMEBAR_DRAG, TIMEBAR_NONE, MWindow::undo, and MainUndo::update_undo(). |
|
|
Definition at line 172 of file timebar.C. References current_operation, in_point, out_point, TIMEBAR_NONE, and update(). Referenced by VWindowGUI::create_objects(), MWindowGUI::create_objects(), and CWindowGUI::create_objects(). |
|
|
Definition at line 771 of file timebar.C. References MWindowGUI::canvas, current_operation, MWindow::gui, move_preview(), mwindow, TrackCanvas::start_dragscroll(), TrackCanvas::stop_dragscroll(), test_preview(), TIMEBAR_DRAG, TIMEBAR_DRAG_CENTER, TIMEBAR_DRAG_LEFT, TIMEBAR_DRAG_RIGHT, update(), and update_cursor(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in MTimeBar. Definition at line 423 of file timebar.C. References get_edl(), get_preview_pixels(), LocalSession::get_selectionstart(), EDL::local_session, mwindow, position_to_pixel(), MWindow::theme, and Theme::timebar_view_data. Referenced by VTimeBar::draw_time(), CTimeBar::draw_time(), VTracking::update_tracker(), and CTracking::update_tracker(). |
|
|
Reimplemented in CTimeBar, MTimeBar, and VTimeBar. Definition at line 412 of file timebar.C. Referenced by update(). |
|
||||||||||||
|
|
|
|
Reimplemented in CTimeBar, and VTimeBar. Definition at line 416 of file timebar.C. References MWindow::edl, and mwindow. Referenced by draw_range(), get_edl_length(), get_preview_pixels(), move_preview(), test_preview(), update_labels(), and update_points(). |
|
|
Definition at line 465 of file timebar.C. References edl_length, get_edl(), time_per_pixel, Tracks::total_playable_length(), and EDL::tracks. Referenced by CTimeBar::draw_time(), get_preview_pixels(), and position_to_pixel(). |
|
||||||||||||
|
Definition at line 489 of file timebar.C. References edl_length, get_edl(), get_edl_length(), EDL::local_session, LocalSession::preview_end, LocalSession::preview_start, and time_per_pixel. Referenced by draw_range(), and test_preview(). |
|
||||||||||||
|
|
|
|
Definition at line 616 of file timebar.C. References CLAMP, current_operation, edl_length, get_edl(), EDL::local_session, LocalSession::preview_end, LocalSession::preview_start, start_cursor_x, start_position, starting_end_position, starting_start_position, time_per_pixel, TIMEBAR_DRAG_CENTER, TIMEBAR_DRAG_LEFT, TIMEBAR_DRAG_RIGHT, and update_preview(). Referenced by cursor_motion_event(). |
|
|
Reimplemented in MTimeBar. Definition at line 182 of file timebar.C. References get_edl_length(), and time_per_pixel. Referenced by draw_range(), update_labels(), and update_points(). |
|
|
|
|
|
Definition at line 736 of file timebar.C. References MWindowGUI::canvas, current_operation, TrackCanvas::drag_scroll, MWindow::edl, MWindow::gui, EDL::local_session, mwindow, MWindow::samplemovement(), TIMEBAR_DRAG, update_cursor(), and LocalSession::view_start. |
|
|
|
|
|
|
|
|
Reimplemented in CTimeBar, MTimeBar, and VTimeBar. Definition at line 454 of file timebar.C. Referenced by LabelGUI::handle_event(). |
|
|
|
Reimplemented in MTimeBar. Definition at line 684 of file timebar.C. Referenced by button_press_event(). |
|
|
Reimplemented in MTimeBar. Definition at line 524 of file timebar.C. References current_operation, get_edl(), get_preview_pixels(), EDL::local_session, LocalSession::preview_end, LocalSession::preview_start, start_cursor_x, start_position, starting_end_position, starting_start_position, TIMEBAR_DRAG_CENTER, TIMEBAR_DRAG_LEFT, and TIMEBAR_DRAG_RIGHT. Referenced by button_press_event(), and cursor_motion_event(). |
|
||||||||||||
|
|
Definition at line 846 of file timebar.C. References EDL::align_to_frame(), current_operation, MWindow::edl, EDL::local_session, mwindow, EDLSession::sample_rate, MWindow::select_point(), EDL::session, TIMEBAR_DRAG, update_highlights(), LocalSession::view_start, and LocalSession::zoom_sample. Referenced by button_press_event(), cursor_motion_event(), and repeat_event(). |
|
|
|
|
|
|
Definition at line 189 of file timebar.C. References get_edl(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), LabelGUI::get_y(), gui, labels, EDL::labels, EDL::local_session, mwindow, LabelGUI::pixel, Label::position, position_to_pixel(), and LabelGUI::reposition(). Referenced by update(). |
|
|
Definition at line 290 of file timebar.C. References get_edl(), LocalSession::get_inpoint(), LocalSession::get_outpoint(), in_point, LocalSession::inpoint_valid(), EDL::local_session, mwindow, out_point, LocalSession::outpoint_valid(), LabelGUI::pixel, LabelGUI::position, position_to_pixel(), and LabelGUI::reposition(). Referenced by update(). |
|
|
Definition at line 374 of file timebar.C. Referenced by update(). |
|
|
Reimplemented in CTimeBar, and VTimeBar. Definition at line 675 of file timebar.C. Referenced by move_preview(). |
|
|
Definition at line 155 of file timebar.h. Referenced by button_release_event(), create_objects(), cursor_motion_event(), move_preview(), repeat_event(), test_preview(), and update_cursor(). |
|
|
Definition at line 172 of file timebar.h. Referenced by get_edl_length(), get_preview_pixels(), and move_preview(). |
|
|
Reimplemented in CTimeBar, MTimeBar, and VTimeBar. Definition at line 150 of file timebar.h. Referenced by update_labels(). |
|
|
Definition at line 162 of file timebar.h. Referenced by create_objects(), update_highlights(), update_points(), and ~TimeBar(). |
|
|
Definition at line 161 of file timebar.h. Referenced by update_highlights(), update_labels(), and ~TimeBar(). |
|
|
|
Definition at line 163 of file timebar.h. Referenced by create_objects(), update_highlights(), update_points(), and ~TimeBar(). |
|
|
Definition at line 164 of file timebar.h. Referenced by ~TimeBar(). |
|
|
Definition at line 173 of file timebar.h. Referenced by move_preview(), and test_preview(). |
|
|
Definition at line 168 of file timebar.h. Referenced by move_preview(), and test_preview(). |
|
|
Definition at line 170 of file timebar.h. Referenced by move_preview(), and test_preview(). |
|
|
Definition at line 169 of file timebar.h. Referenced by move_preview(), and test_preview(). |
|
|
Definition at line 171 of file timebar.h. Referenced by MTimeBar::draw_range(), get_edl_length(), get_preview_pixels(), move_preview(), and position_to_pixel(). |
1.4.4