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

cplayback.C

Go to the documentation of this file.
00001 #include "cplayback.h"
00002 #include "ctracking.h"
00003 #include "cwindow.h"
00004 #include "cwindowgui.h"
00005 #include "edl.h"
00006 #include "edlsession.h"
00007 #include "mwindow.h"
00008 #include "mwindowgui.h"
00009 #include "playtransport.h"
00010 #include "trackcanvas.h"
00011 #include "transportque.h"
00012 
00013 // Playback engine for composite window
00014 
00015 CPlayback::CPlayback(MWindow *mwindow, CWindow *cwindow, Canvas *output)
00016  : PlaybackEngine(mwindow, output)
00017 {
00018         this->cwindow = cwindow;
00019 }
00020 
00021 int CPlayback::create_render_engine()
00022 {
00023         return PlaybackEngine::create_render_engine();
00024 }
00025 
00026 void CPlayback::init_cursor()
00027 {
00028         mwindow->gui->lock_window("CPlayback::init_cursor");
00029         mwindow->gui->canvas->deactivate();
00030         mwindow->gui->unlock_window();
00031         cwindow->playback_cursor->start_playback(tracking_position);
00032 }
00033 
00034 void CPlayback::stop_cursor()
00035 {
00036         cwindow->playback_cursor->stop_playback();
00037 }
00038 
00039 
00040 int CPlayback::brender_available(long position)
00041 {
00042         return mwindow->brender_available(position);
00043 }

Generated on Sun Jan 8 13:38:51 2006 for Cinelerra-svn by  doxygen 1.4.4