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

CTimeBar Class Reference

#include <ctimebar.h>

Inheritance diagram for CTimeBar:

TimeBar List of all members.

Public Member Functions

 CTimeBar (MWindow *mwindow, CWindowGUI *gui, int x, int y, int w, int h)
int resize_event ()
EDLget_edl ()
void draw_time ()
void update_preview ()
void select_label (double position)

Public Attributes

CWindowGUIgui

Detailed Description

Definition at line 14 of file ctimebar.h.


Constructor & Destructor Documentation

CTimeBar::CTimeBar MWindow mwindow,
CWindowGUI gui,
int  x,
int  y,
int  w,
int  h
 

Definition at line 13 of file ctimebar.C.


Member Function Documentation

void CTimeBar::draw_time  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 46 of file ctimebar.C.

References TimeBar::draw_range(), and TimeBar::get_edl_length().

EDL * CTimeBar::get_edl  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 41 of file ctimebar.C.

References MWindow::edl, and TimeBar::mwindow.

int CTimeBar::resize_event  ) 
 

Definition at line 30 of file ctimebar.C.

References Theme::ctimebar_h, Theme::ctimebar_w, Theme::ctimebar_x, Theme::ctimebar_y, TimeBar::mwindow, MWindow::theme, and TimeBar::update().

Referenced by CWindowGUI::resize_event().

void CTimeBar::select_label double  position  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 59 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, MWindowGUI::mbuttons, TimeBar::mwindow, LocalSession::set_selectionend(), LocalSession::set_selectionstart(), MButtons::transport, MWindowGUI::update(), and CWindow::update().

void CTimeBar::update_preview  )  [virtual]
 

Reimplemented from TimeBar.

Definition at line 53 of file ctimebar.C.

References gui, CWindowSlider::set_position(), and CWindowGUI::slider.


Member Data Documentation

CWindowGUI* CTimeBar::gui
 

Reimplemented from TimeBar.

Definition at line 30 of file ctimebar.h.

Referenced by select_label(), and update_preview().


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