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

PlayTransport Class Reference

#include <playtransport.h>

Inheritance diagram for PlayTransport:

CWindowTransport MainTransport VWindowTransport List of all members.

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 pause_transport ()
int reset_transport ()
int get_w ()
virtual EDLget_edl ()

Static Public Member Functions

static int get_transport_width (MWindow *mwindow)

Public Attributes

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_WindowBase * subwindow
BC_Slider * slider
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  ) 
 

Definition at line 30 of file playtransport.C.

References end_button, fast_play, fast_reverse, forward_play, frame_forward_play, frame_reverse_play, reverse_play, rewind_button, and stop_button.


Member Function Documentation

int PlayTransport::create_objects  ) 
 

Definition at line 59 of file playtransport.C.

References end_button, fast_play, fast_reverse, forward_play, frame_forward_play, frame_reverse_play, mwindow, reverse, reverse_play, rewind_button, speed, stop_button, subwindow, x, and y.

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

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

Definition at line 116 of file playtransport.C.

References end_button, fast_play, fast_reverse, forward_play, frame_forward_play, frame_reverse_play, reverse_play, rewind_button, and stop_button.

EDL * PlayTransport::get_edl  )  [virtual]
 

Reimplemented in CWindowTransport, and VWindowTransport.

Definition at line 321 of file playtransport.C.

References MWindow::edl, and mwindow.

Referenced by handle_transport().

int PlayTransport::get_transport_width MWindow mwindow  )  [static]
 

Definition at line 53 of file playtransport.C.

References MWindow::theme.

int PlayTransport::get_w  ) 
 

Definition at line 111 of file playtransport.C.

References end_button, and rewind_button.

Referenced by MButtons::create_objects().

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().

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().

void PlayTransport::handle_transport int  command,
int  wait_tracking = 0,
int  use_inout = 0
 

Definition at line 241 of file playtransport.C.

References TransportCommand::command, PlaybackEngine::command, engine, get_edl(), PlaybackEngine::interrupt_playback(), PlaybackEngine::que, TransportQue::send_command(), and TransportCommand::single_frame().

Referenced by TrackCanvas::button_press_event(), CWindowSlider::decrease_value(), VWindowTransport::goto_end(), goto_end(), MainTransport::goto_end(), CWindowTransport::goto_end(), VWindowTransport::goto_start(), goto_start(), MainTransport::goto_start(), CWindowTransport::goto_start(), StopButton::handle_event(), FastPlayButton::handle_event(), FramePlayButton::handle_event(), PlayButton::handle_event(), FrameReverseButton::handle_event(), ReverseButton::handle_event(), FastReverseButton::handle_event(), CWindowSlider::increase_value(), keypress_event(), EditPanel::next_label(), EditPanel::prev_label(), VTimeBar::select_label(), MTimeBar::select_label(), CTimeBar::select_label(), and MTimeBar::stop_playback().

int PlayTransport::keypress_event  ) 
 

Definition at line 164 of file playtransport.C.

References goto_end(), goto_start(), handle_transport(), and subwindow.

Referenced by VWindowGUI::keypress_event(), MButtons::keypress_event(), and CWindowGUI::keypress_event().

int PlayTransport::pause_transport  ) 
 

Definition at line 326 of file playtransport.C.

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

void PlayTransport::reposition_buttons int  x,
int  y
 

Definition at line 87 of file playtransport.C.

References end_button, fast_play, fast_reverse, forward_play, frame_forward_play, frame_reverse_play, reverse_play, rewind_button, and stop_button.

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

int PlayTransport::reset_transport  ) 
 

Definition at line 333 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().

void PlayTransport::set_engine PlaybackEngine engine  ) 
 

Definition at line 43 of file playtransport.C.

Referenced by VWindow::create_objects(), MButtons::create_objects(), and CWindow::create_objects().

void PlayTransport::set_slider BC_Slider *  slider  ) 
 

Definition at line 48 of file playtransport.C.

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


Member Data Documentation

PTransportButton* PlayTransport::active_button
 

Definition at line 44 of file playtransport.h.

Referenced by pause_transport().

EndButton* PlayTransport::end_button
 

Definition at line 53 of file playtransport.h.

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

PlaybackEngine* PlayTransport::engine
 

Definition at line 57 of file playtransport.h.

Referenced by handle_transport(), and PlayTransport().

FastPlayButton* PlayTransport::fast_play
 

Definition at line 50 of file playtransport.h.

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

FastReverseButton* PlayTransport::fast_reverse
 

Definition at line 49 of file playtransport.h.

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

PlayButton* PlayTransport::forward_play
 

Definition at line 45 of file playtransport.h.

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

FramePlayButton* PlayTransport::frame_forward_play
 

Definition at line 46 of file playtransport.h.

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

FrameReverseButton* PlayTransport::frame_reverse_play
 

Definition at line 48 of file playtransport.h.

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

MWindow* PlayTransport::mwindow
 

Definition at line 54 of file playtransport.h.

Referenced by create_objects(), get_edl(), CWindowTransport::get_edl(), MainTransport::goto_end(), CWindowTransport::goto_end(), MainTransport::goto_start(), and CWindowTransport::goto_start().

int PlayTransport::reverse
 

Definition at line 41 of file playtransport.h.

Referenced by create_objects().

ReverseButton* PlayTransport::reverse_play
 

Definition at line 47 of file playtransport.h.

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

RewindButton* PlayTransport::rewind_button
 

Definition at line 51 of file playtransport.h.

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

BC_Slider* PlayTransport::slider
 

Definition at line 56 of file playtransport.h.

Referenced by PlayTransport().

float PlayTransport::speed
 

Definition at line 42 of file playtransport.h.

Referenced by create_objects().

int PlayTransport::status
 

Definition at line 58 of file playtransport.h.

StopButton* PlayTransport::stop_button
 

Definition at line 52 of file playtransport.h.

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

BC_WindowBase* PlayTransport::subwindow
 

Definition at line 55 of file playtransport.h.

Referenced by create_objects(), and keypress_event().

int PlayTransport::x
 

Definition at line 59 of file playtransport.h.

Referenced by create_objects().

int PlayTransport::y
 

Definition at line 59 of file playtransport.h.

Referenced by create_objects().


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