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 MovieVideo("inkblot"), 00028 _specified_x(x), 00029 _specified_y(y), 00030 _specified_fps(y) 00031 { 00032 } 00033 00034 //////////////////////////////////////////////////////////////////// 00035 // Function: InkblotVideo::Destructor 00036 // Access: Public, Virtual 00037 // Description: 00038 //////////////////////////////////////////////////////////////////// 00039 InkblotVideo:: 00040 ~InkblotVideo() { 00041 } 00042 00043 //////////////////////////////////////////////////////////////////// 00044 // Function: InkblotVideo::open 00045 // Access: Published, Virtual 00046 // Description: Open this video, returning a MovieVideoCursor. 00047 //////////////////////////////////////////////////////////////////// 00048 PT(MovieVideoCursor) InkblotVideo:: 00049 open() { 00050 return new InkblotVideoCursor(this); 00051 }