#include <ctimebar.h>
Inherits TimeBar.

Public Member Functions | |
| CTimeBar (MWindow *mwindow, CWindowGUI *gui, int x, int y, int w, int h) | |
| int | resize_event () |
| EDL * | get_edl () |
| void | draw_time () |
| void | update_preview () |
| void | select_label (double position) |
Data Fields | |
| CWindowGUI * | gui |
Definition at line 14 of file ctimebar.h.
| CTimeBar::CTimeBar | ( | MWindow * | mwindow, | |
| CWindowGUI * | gui, | |||
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 14 of file ctimebar.C.
| int CTimeBar::resize_event | ( | ) |
Definition at line 31 of file ctimebar.C.
References Theme::ctimebar_h, Theme::ctimebar_w, Theme::ctimebar_x, Theme::ctimebar_y, TimeBar::mwindow, BC_WindowBase::reposition_window(), MWindow::theme, and TimeBar::update().
Referenced by CWindowGUI::resize_event().

| EDL * CTimeBar::get_edl | ( | ) | [virtual] |
Reimplemented from TimeBar.
Definition at line 42 of file ctimebar.C.
References MWindow::edl, and TimeBar::mwindow.
| void CTimeBar::draw_time | ( | ) | [virtual] |
Reimplemented from TimeBar.
Definition at line 47 of file ctimebar.C.
References TimeBar::draw_range(), and TimeBar::get_edl_length().

| void CTimeBar::update_preview | ( | ) | [virtual] |
Reimplemented from TimeBar.
Definition at line 54 of file ctimebar.C.
References gui, CWindowSlider::set_position(), and CWindowGUI::slider.

| void CTimeBar::select_label | ( | double | position | ) | [virtual] |
Reimplemented from TimeBar.
Definition at line 60 of file ctimebar.C.
References EDL::align_to_frame(), MWindowGUI::cursor, MWindow::cwindow, MainCursor::draw(), MWindow::edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), MWindow::gui, gui, PlayTransport::handle_transport(), MainCursor::hide(), EDL::local_session, BC_WindowBase::lock_window(), MWindowGUI::mbuttons, TimeBar::mwindow, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), BC_WindowBase::shift_down(), STOP, MButtons::transport, BC_WindowBase::unlock_window(), MWindowGUI::update(), CWindow::update(), and MWindow::update_plugin_guis().

Reimplemented from TimeBar.
Definition at line 30 of file ctimebar.h.
Referenced by select_label(), and update_preview().
1.5.5