Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

MTimeBar Class Reference

#include <mtimebar.h>

Inheritance diagram for MTimeBar:

TimeBar List of all members.

Public Member Functions

 MTimeBar (MWindow *mwindow, MWindowGUI *gui, int x, int y, int w, int h)
void draw_time ()
void draw_range ()
void stop_playback ()
int resize_event ()
int test_preview (int buttonpress)
int64_t position_to_pixel (double position)
void select_label (double position)

Public Attributes

MWindowGUIgui

Detailed Description

Definition at line 9 of file mtimebar.h.


Constructor & Destructor Documentation

MTimeBar::MTimeBar MWindow mwindow,
MWindowGUI gui,
int  x,
int  y,
int  w,
int  h
 

Definition at line 20 of file mtimebar.C.


Member Function Documentation

void MTimeBar::draw_range  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 117 of file mtimebar.C.

References MainSession::brender_end, EDLSession::brender_start, MWindow::edl, EDL::local_session, TimeBar::mwindow, MWindow::preferences, EDLSession::sample_rate, MWindow::session, EDL::session, MWindow::theme, TimeBar::time_per_pixel, Tracks::total_playable_vtracks(), EDL::tracks, Preferences::use_brender, LocalSession::view_start, and LocalSession::zoom_sample.

Referenced by draw_time().

void MTimeBar::draw_time  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 49 of file mtimebar.C.

References draw_range(), MWindow::edl, EDLSession::frame_rate, EDLSession::frames_per_foot, EDLSession::get_frame_offset(), EDL::local_session, TimeBar::mwindow, EDLSession::sample_rate, EDL::session, EDLSession::time_format, TIMESPACING, LocalSession::view_start, and LocalSession::zoom_sample.

int64_t MTimeBar::position_to_pixel double  position  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 32 of file mtimebar.C.

References MWindow::edl, EDL::local_session, TimeBar::mwindow, EDLSession::sample_rate, EDL::session, LocalSession::view_start, and LocalSession::zoom_sample.

int MTimeBar::resize_event  ) 
 

Definition at line 184 of file mtimebar.C.

References Theme::mtimebar_h, Theme::mtimebar_w, Theme::mtimebar_x, Theme::mtimebar_y, TimeBar::mwindow, MWindow::theme, and TimeBar::update().

Referenced by MWindowGUI::resize_event().

void MTimeBar::select_label double  position  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 144 of file mtimebar.C.

References TrackCanvas::activate(), EDL::align_to_frame(), MWindowGUI::canvas, MWindowGUI::cursor, MWindow::cwindow, MainCursor::draw(), MWindow::edl, Module::edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), MWindow::gui, PlayTransport::handle_transport(), MainCursor::hide(), EDL::local_session, MWindowGUI::mbuttons, TimeBar::mwindow, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), MButtons::transport, ZoomBar::update(), CWindow::update(), TimeBar::update_highlights(), and MWindowGUI::zoombar.

void MTimeBar::stop_playback  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 41 of file mtimebar.C.

References gui, PlayTransport::handle_transport(), MWindowGUI::mbuttons, and MButtons::transport.

int MTimeBar::test_preview int  buttonpress  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 194 of file mtimebar.C.


Member Data Documentation

MWindowGUI* MTimeBar::gui
 

Reimplemented from TimeBar.

Definition at line 27 of file mtimebar.h.

Referenced by stop_playback().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:17 2006 for Cinelerra-svn by  doxygen 1.4.4