gnome-games r8167 - trunk/aisleriot



Author: jclinton
Date: Tue Oct 21 19:47:42 2008
New Revision: 8167
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8167&view=rev

Log:
Reposition the slot renderers when the stage size changes

Modified:
   trunk/aisleriot/board.c

Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c	(original)
+++ trunk/aisleriot/board.c	Tue Oct 21 19:47:42 2008
@@ -816,6 +816,10 @@
     slot->rect.x -= slot->rect.width - priv->card_size.width;
   }
 
+  if (slot->slot_renderer)
+    clutter_actor_set_position (slot->slot_renderer,
+                                slot->rect.x, slot->rect.y);
+
   if (GTK_WIDGET_REALIZED (widget)) {
     GdkRectangle damage = slot->rect;
 



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