Author: ArcRiley
Date: 2008-03-08 20:20:19 -0500 (Sat, 08 Mar 2008)
New Revision: 1111

Modified:
   trunk/pysoy/src/widgets/Projector.pxi
   trunk/pysoy/src/widgets/soy.widgets.pxd
Log:
Ticket #943 :
  * upgraded widgets.Projector 


Modified: trunk/pysoy/src/widgets/Projector.pxi
===================================================================
--- trunk/pysoy/src/widgets/Projector.pxi       2008-03-09 01:17:55 UTC (rev 
1110)
+++ trunk/pysoy/src/widgets/Projector.pxi       2008-03-09 01:20:19 UTC (rev 
1111)
@@ -1,4 +1,4 @@
-# PySoy widgets.Projector class
+# PySoy's widgets.Projector class
 #
 # Copyright (C) 2006,2007,2008 PySoy Group
 #
@@ -17,8 +17,8 @@
 #
 # $Id$
 
-cdef class Projector(Widget) :
-  '''Pysoy's Projector
+cdef class Projector (Widget) :
+  '''soy.widgets.Projector
 
     Creates a suitable container for display of the output of a camera. The 
     result can be placed on to soy.Screen for example and can 
@@ -70,7 +70,7 @@
         self._camera = value
         self._connected = 0
         return
-      if not isinstance(value, soy.bodies._bodies.Camera) :
+      if not isinstance(value, soy.bodies.Camera) :
         raise TypeError('Must provide an instance of soy.bodies.Camera')
       self._camera = value
       self._connected = 1

Modified: trunk/pysoy/src/widgets/soy.widgets.pxd
===================================================================
--- trunk/pysoy/src/widgets/soy.widgets.pxd     2008-03-09 01:17:55 UTC (rev 
1110)
+++ trunk/pysoy/src/widgets/soy.widgets.pxd     2008-03-09 01:20:19 UTC (rev 
1111)
@@ -1,4 +1,4 @@
-# PySoy Widgets Declarations
+# PySoy's widgets declarations
 #
 # Copyright (C) 2006,2007,2008 PySoy Group
 #
@@ -22,7 +22,7 @@
 cimport soy._core
 cimport soy._datatypes
 cimport soy._internals
-cimport soy.bodies._bodies
+cimport soy.bodies
 cimport soy.colors
 cimport soy.textures
 
@@ -58,8 +58,7 @@
 
 
 cdef class Projector (Widget) :
-  cdef soy.bodies._bodies.Camera  _camera
-  cdef int                        _connected
-  cdef float                      _znear
-  cdef float                      _zfar
-
+  cdef soy.bodies.Camera        _camera
+  cdef int                      _connected
+  cdef float                    _znear
+  cdef float                    _zfar

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to