[gcompris/gcomprixogoo] The selector is smaller now to avoid the left/right buttons being in the bar.



commit 979d40b4a4d36a1ca005f8964d9c5c3e71ee079f
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Dec 27 21:28:54 2009 +0100

    The selector is smaller now to avoid the left/right buttons being in the bar.

 src/babymatch-activity/shapegame.c                 |    4 ++--
 .../resources/doubleentry/board1_0.xml.in          |    3 +--
 .../resources/doubleentry/doubleentry-bg.png       |  Bin 58507 -> 24125 bytes
 3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/babymatch-activity/shapegame.c b/src/babymatch-activity/shapegame.c
index 32939e0..485ef81 100644
--- a/src/babymatch-activity/shapegame.c
+++ b/src/babymatch-activity/shapegame.c
@@ -619,7 +619,7 @@ add_shape_to_list_of_shapes(Shape *shape)
 			      NULL);
       SET_ITEM_LOCATION(previous_shapelist_item,
 			shapeBox.x - 5,
-			shapeBox.y + shapeBox.h);
+			shapeBox.h);
 
       g_signal_connect(previous_shapelist_item,
 		       "button_press_event",
@@ -635,7 +635,7 @@ add_shape_to_list_of_shapes(Shape *shape)
 
       SET_ITEM_LOCATION(next_shapelist_item,
 			shapeBox.x + shapeBox.w / 2,
-			shapeBox.y + shapeBox.h);
+			shapeBox.h);
 
       g_signal_connect(next_shapelist_item, "button_press_event",
 		       (GtkSignalFunc) item_event_ok,
diff --git a/src/doubleentry-activity/resources/doubleentry/board1_0.xml.in b/src/doubleentry-activity/resources/doubleentry/board1_0.xml.in
index 465891f..e7edfbc 100644
--- a/src/doubleentry-activity/resources/doubleentry/board1_0.xml.in
+++ b/src/doubleentry-activity/resources/doubleentry/board1_0.xml.in
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<ShapeGame shapebox_x="15" shapebox_y="20" shapebox_w="80" shapebox_h="440" 
- shapebox_nb_shape_x="1" shapebox_nb_shape_y="6" >
+<ShapeGame>
   <Title x="231" y="90" justification="GTK_JUSTIFY_CENTER"><name>1</name></Title>
   <Shape name="A" pixmapfile="doubleentry/d-entry_pomme_1.png"  x="137" y="325"  zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
   <Shape name="A" pixmapfile="doubleentry/d-entry_pomme_1.png"  x="231" y="325"  zoomx="1" zoomy="1" position="0"/>
diff --git a/src/doubleentry-activity/resources/doubleentry/doubleentry-bg.png b/src/doubleentry-activity/resources/doubleentry/doubleentry-bg.png
index 253e27c..3ba4717 100644
Binary files a/src/doubleentry-activity/resources/doubleentry/doubleentry-bg.png and b/src/doubleentry-activity/resources/doubleentry/doubleentry-bg.png differ



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