Panda3D
|
00001 // Filename: inkblotVideo.cxx 00002 // Created by: jyelon (02Jul07) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "inkblotVideo.h" 00016 #include "inkblotVideoCursor.h" 00017 00018 TypeHandle InkblotVideo::_type_handle; 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: InkblotVideo::Constructor 00022 // Access: Public 00023 // Description: xxx 00024 //////////////////////////////////////////////////////////////////// 00025 InkblotVideo:: 00026 InkblotVideo(int x, int y, int fps) : 00027 _specified_x(x), 00028 _specified_y(y), 00029 _specified_fps(fps) 00030 { 00031 } 00032 00033 //////////////////////////////////////////////////////////////////// 00034 // Function: InkblotVideo::Destructor 00035 // Access: Public, Virtual 00036 // Description: 00037 //////////////////////////////////////////////////////////////////// 00038 InkblotVideo:: 00039 ~InkblotVideo() { 00040 } 00041 00042 //////////////////////////////////////////////////////////////////// 00043 // Function: InkblotVideo::open 00044 // Access: Published, Virtual 00045 // Description: Open this video, returning a MovieVideoCursor. 00046 //////////////////////////////////////////////////////////////////// 00047 PT(MovieVideoCursor) InkblotVideo:: 00048 open() { 00049 return new InkblotVideoCursor(this); 00050 }