tuikit/common.py
changeset 0 a35731b5e31a
child 5 ae128c885d0f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tuikit/common.py	Wed Feb 16 23:51:30 2011 +0100
@@ -0,0 +1,13 @@
+# -*- coding: utf-8 -*-
+
+class Rect:
+    def __init__(self, x=0, y=0, w=0, h=0):
+        self.x = x
+        self.y = y
+        self.w = w
+        self.h = h
+
+
+    def __repr__(self):
+        return 'Rect(%(x)s,%(y)s,%(w)s,%(h)s)' % self.__dict__
+