gcompris r3505 - in branches/gcomprixogoo/src/superbrain-activity: . resources/superbrain
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3505 - in branches/gcomprixogoo/src/superbrain-activity: . resources/superbrain
- Date: Sat, 23 Aug 2008 12:34:07 +0000 (UTC)
Author: bcoudoin
Date: Sat Aug 23 12:34:07 2008
New Revision: 3505
URL: http://svn.gnome.org/viewvc/gcompris?rev=3505&view=rev
Log:
replaced the old bruno's made background by a Franck Doucet contribution.
Added:
branches/gcomprixogoo/src/superbrain-activity/resources/superbrain/superbrain_background.svgz (contents, props changed)
Removed:
branches/gcomprixogoo/src/superbrain-activity/resources/superbrain/superbrain_background.jpg
Modified:
branches/gcomprixogoo/src/superbrain-activity/superbrain.c
Added: branches/gcomprixogoo/src/superbrain-activity/resources/superbrain/superbrain_background.svgz
==============================================================================
Binary file. No diff available.
Modified: branches/gcomprixogoo/src/superbrain-activity/superbrain.c
==============================================================================
--- branches/gcomprixogoo/src/superbrain-activity/superbrain.c (original)
+++ branches/gcomprixogoo/src/superbrain-activity/superbrain.c Sat Aug 23 12:34:07 2008
@@ -34,6 +34,7 @@
GooCanvasItem *misplaced;
} Piece;
+/* The active list of pieces */
static GList * listPieces = NULL;
static guint colors[] =
@@ -52,11 +53,11 @@
#define MAX_COLORS 10
-#define PIECE_WIDTH 10.0
-#define PIECE_HEIGHT 10.0
-#define PIECE_GAP 22.0
+#define PIECE_WIDTH 9.0
+#define PIECE_HEIGHT 9.0
+#define PIECE_GAP 20.0
#define PIECE_GAP_GOOD 5
-#define SCROLL_LIMIT 160
+#define SCROLL_LIMIT 20
#define PLAYING_AREA_X 190
#define PLAYING_HELP_X (BOARDWIDTH-80)
@@ -166,7 +167,7 @@
gc_bar_set(GC_BAR_LEVEL);
gc_set_background(goo_canvas_get_root_item(gcomprisBoard->canvas),
- "superbrain/superbrain_background.jpg");
+ "superbrain/superbrain_background.svgz");
superbrain_next_level();
@@ -278,7 +279,7 @@
/* The OK Button */
gc_util_button_text(boardLogoItem,
- 270, 360,
+ 270, 50,
"button_large.png",
_("OK"),
(GtkSignalFunc) process_ok, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]