PlayTransport Class Reference

#include <playtransport.h>

Inherited by CWindowTransport, MainTransport, and VWindowTransport.

Collaboration diagram for PlayTransport:

Collaboration graph
[legend]

Public Member Functions

 PlayTransport (MWindow *mwindow, BC_WindowBase *subwindow, int x, int y)
 ~PlayTransport ()
int create_objects ()
void reposition_buttons (int x, int y)
virtual void goto_start ()
virtual void goto_end ()
void set_slider (BC_Slider *slider)
void set_engine (PlaybackEngine *engine)
int flip_vertical (int vertical, int &x, int &y)
int keypress_event ()
void handle_transport (int command, int wait_tracking=0, int use_inout=0, int update_refresh=1)
int pause_transport ()
int reset_transport ()
int get_w ()
virtual EDLget_edl ()

Static Public Member Functions

static int get_transport_width (MWindow *mwindow)

Data Fields

int reverse
float speed
PTransportButtonactive_button
PlayButtonforward_play
FramePlayButtonframe_forward_play
ReverseButtonreverse_play
FrameReverseButtonframe_reverse_play
FastReverseButtonfast_reverse
FastPlayButtonfast_play
RewindButtonrewind_button
StopButtonstop_button
EndButtonend_button
MWindowmwindow
BC_WindowBasesubwindow
BC_Sliderslider
PlaybackEngineengine
int status
int x
int y

Detailed Description

Definition at line 14 of file playtransport.h.


Constructor & Destructor Documentation

PlayTransport::PlayTransport ( MWindow mwindow,
BC_WindowBase subwindow,
int  x,
int  y 
)

Definition at line 16 of file playtransport.C.

References engine, and slider.

PlayTransport::~PlayTransport (  ) 


Member Function Documentation

int PlayTransport::create_objects (  ) 

void PlayTransport::reposition_buttons ( int  x,
int  y 
)

void PlayTransport::goto_start (  )  [virtual]

Reimplemented in CWindowTransport, MainTransport, and VWindowTransport.

Definition at line 229 of file playtransport.C.

References handle_transport().

Referenced by RewindButton::handle_event(), and keypress_event().

Here is the call graph for this function:

void PlayTransport::goto_end (  )  [virtual]

Reimplemented in CWindowTransport, MainTransport, and VWindowTransport.

Definition at line 234 of file playtransport.C.

References handle_transport().

Referenced by EndButton::handle_event(), and keypress_event().

Here is the call graph for this function:

void PlayTransport::set_slider ( BC_Slider slider  ) 

Definition at line 48 of file playtransport.C.

Referenced by VWindowGUI::create_objects(), and CWindowGUI::create_objects().

void PlayTransport::set_engine ( PlaybackEngine engine  ) 

int PlayTransport::get_transport_width ( MWindow mwindow  )  [static]

int PlayTransport::flip_vertical ( int  vertical,
int &  x,
int &  y 
)

int PlayTransport::keypress_event (  ) 

void PlayTransport::handle_transport ( int  command,
int  wait_tracking = 0,
int  use_inout = 0,
int  update_refresh = 1 
)

int PlayTransport::pause_transport (  ) 

Definition at line 356 of file playtransport.C.

References active_button, PLAY_MODE, and PTransportButton::set_mode().

Here is the call graph for this function:

int PlayTransport::reset_transport (  ) 

Definition at line 363 of file playtransport.C.

References fast_play, fast_reverse, forward_play, frame_forward_play, frame_reverse_play, PLAY_MODE, reverse_play, and PTransportButton::set_mode().

Here is the call graph for this function:

int PlayTransport::get_w (  ) 

Definition at line 111 of file playtransport.C.

References end_button, BC_WindowBase::get_w(), BC_WindowBase::get_x(), and rewind_button.

Referenced by MButtons::create_objects().

Here is the call graph for this function:

EDL * PlayTransport::get_edl (  )  [virtual]

Reimplemented in CWindowTransport, and VWindowTransport.

Definition at line 351 of file playtransport.C.

References MWindow::edl, and mwindow.

Referenced by handle_transport().


Field Documentation

Definition at line 51 of file playtransport.h.

Referenced by create_objects().

Definition at line 52 of file playtransport.h.

Referenced by create_objects().

Definition at line 54 of file playtransport.h.

Referenced by pause_transport().

Definition at line 62 of file playtransport.h.

Referenced by create_objects(), flip_vertical(), reposition_buttons(), and ~PlayTransport().

Definition at line 65 of file playtransport.h.

Referenced by create_objects(), and keypress_event().

Definition at line 66 of file playtransport.h.

Referenced by PlayTransport().

Definition at line 67 of file playtransport.h.

Referenced by handle_transport(), and PlayTransport().

Definition at line 68 of file playtransport.h.

Definition at line 69 of file playtransport.h.

Referenced by create_objects().

Definition at line 69 of file playtransport.h.

Referenced by create_objects().


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

Generated on Mon Apr 28 14:35:54 2008 for Cinelerra by  doxygen 1.5.5