vlc/python | branch: master | Olivier Aubert <olivier.aub...@liris.cnrs.fr> | 
Tue Nov 16 11:11:48 2010 +0100| [b40a0d6fa27be1ab96bd8c4e1f8962b145dd52d9] | 
committer: Olivier Aubert 

python-vlc: define Rectangle class

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=b40a0d6fa27be1ab96bd8c4e1f8962b145dd52d9
---

 header.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/header.py b/header.py
index d5541bb..4e872ad 100755
--- a/header.py
+++ b/header.py
@@ -241,4 +241,12 @@ class Event(ctypes.Structure):
         ('u', EventUnion),
         ]
 
+class Rectangle(ctypes.Structure):
+    _fields_ = [
+        ('top',    ctypes.c_int),
+        ('left',   ctypes.c_int),
+        ('bottom', ctypes.c_int),
+        ('right',  ctypes.c_int),
+        ]
+
 ### End of header.py ###

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to