gcompris r3469 - branches/gcomprixogoo/src/anim-activity



Author: bcoudoin
Date: Sun Jul  6 13:44:56 2008
New Revision: 3469
URL: http://svn.gnome.org/viewvc/gcompris?rev=3469&view=rev

Log:
minor, use rounded corners


Modified:
   branches/gcomprixogoo/src/anim-activity/Timeline.py
   branches/gcomprixogoo/src/anim-activity/anim.py

Modified: branches/gcomprixogoo/src/anim-activity/Timeline.py
==============================================================================
--- branches/gcomprixogoo/src/anim-activity/Timeline.py	(original)
+++ branches/gcomprixogoo/src/anim-activity/Timeline.py	Sun Jul  6 13:44:56 2008
@@ -79,7 +79,9 @@
                 height = h,
                 fill_color_rgba = self.default_color,
                 stroke_color_rgba = 0x101080FFL,
-                line_width=1.0)
+                line_width=1.0,
+                radius_x=3.0,
+                radius_y=3.0)
             item.set_data("time", t)
 
             if not self.selected:

Modified: branches/gcomprixogoo/src/anim-activity/anim.py
==============================================================================
--- branches/gcomprixogoo/src/anim-activity/anim.py	(original)
+++ branches/gcomprixogoo/src/anim-activity/anim.py	Sun Jul  6 13:44:56 2008
@@ -461,16 +461,17 @@
     y2 = self.drawing_area[3]
 
     item = \
-      goocanvas.Rect(
-        parent = self.rootitem,
-      x = x1,
-      y = y1,
-      width = x2 - x1,
-      height = y2 - y1,
-      fill_color_rgba=0xFFFFFFFFL,
-      line_width=2.0,
-      stroke_color_rgba=0x111199FFL
-      )
+        goocanvas.Rect(
+          parent = self.rootitem,
+          x = x1,
+          y = y1,
+          width = x2 - x1,
+          height = y2 - y1,
+          line_width=2.0,
+          fill_color_rgba=0xFFFFFFFFL,
+          stroke_color_rgba=0x111199FFL,
+          radius_x=5.0,
+          radius_y=5.0)
     item.connect("button_press_event", self.item_event)
     item.connect("button_release_event", self.item_event)
     item.connect("motion_notify_event", self.item_event)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]