gnome-games r8167 - trunk/aisleriot
- From: jclinton svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8167 - trunk/aisleriot
- Date: Tue, 21 Oct 2008 19:47:42 +0000 (UTC)
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]