gcompris r3697 - in branches/gcomprixogoo: . src/target-activity src/target-activity/resources/target
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3697 - in branches/gcomprixogoo: . src/target-activity src/target-activity/resources/target
- Date: Mon, 26 Jan 2009 23:24:53 +0000 (UTC)
Author: bcoudoin
Date: Mon Jan 26 23:24:53 2009
New Revision: 3697
URL: http://svn.gnome.org/viewvc/gcompris?rev=3697&view=rev
Log:
New background image for the target activity by Mathieu Ignacio.
Added:
branches/gcomprixogoo/src/target-activity/resources/target/target_background.svgz (contents, props changed)
Removed:
branches/gcomprixogoo/src/target-activity/resources/target/target_background.jpg
Modified:
branches/gcomprixogoo/ChangeLog
branches/gcomprixogoo/src/target-activity/resources/target/Makefile.am
branches/gcomprixogoo/src/target-activity/target.c
Modified: branches/gcomprixogoo/src/target-activity/resources/target/Makefile.am
==============================================================================
--- branches/gcomprixogoo/src/target-activity/resources/target/Makefile.am (original)
+++ branches/gcomprixogoo/src/target-activity/resources/target/Makefile.am Mon Jan 26 23:24:53 2009
@@ -1,5 +1,5 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/target
img_DATA = \
- target_background.jpg
+ target_background.svgz
EXTRA_DIST = $(img_DATA)
Added: branches/gcomprixogoo/src/target-activity/resources/target/target_background.svgz
==============================================================================
Binary file. No diff available.
Modified: branches/gcomprixogoo/src/target-activity/target.c
==============================================================================
--- branches/gcomprixogoo/src/target-activity/target.c (original)
+++ branches/gcomprixogoo/src/target-activity/target.c Mon Jan 26 23:24:53 2009
@@ -202,7 +202,8 @@
gcomprisBoard->sublevel=1;
gcomprisBoard->number_of_sublevel=1; /* Go to next level after this number of 'play' */
- gc_set_background(goo_canvas_get_root_item(gcomprisBoard->canvas), "target/target_background.jpg");
+ gc_set_background(goo_canvas_get_root_item(gcomprisBoard->canvas),
+ "target/target_background.svgz");
gc_bar_set(GC_BAR_LEVEL);
gc_bar_location(BOARDWIDTH-200, -1, 0.8);
@@ -388,8 +389,8 @@
double w = 4.0;
goo_canvas_polyline_new (speedRootItem, FALSE, 0,
"points", canvasPoints,
- "stroke-color-rgba", 0x6df438C0,
- "fill-color", "green",
+ "stroke-color-rgba", 0Xa05a2cffL,
+ "fill-color-rgba", 0Xa05a2cffL,
"line-width", w,
"end-arrow", TRUE,
"arrow-tip-length", 7.0,
@@ -405,9 +406,9 @@
SPEED_CENTER_Y,
10.0,
10.0,
- "fill_color_rgba", 0x6df438C0,
- "stroke-color", "red",
- "line-width", (double)1,
+ "fill_color_rgba", 0Xa05a2cffL,
+ "stroke-color", "black",
+ "line-width", (double)2,
NULL);
tmpstr = g_strdup_printf(_("Wind speed = %d\nkilometers/hour"), (guint)wind_speed);
@@ -486,7 +487,7 @@
-1,
GTK_ANCHOR_CENTER,
"font", gc_skin_font_board_medium,
- "fill-color", "white",
+ "fill-color", "black",
NULL);
g_free(tmpstr);
@@ -584,7 +585,7 @@
(bounds.x2 - bounds.x1) + gap*2,
(bounds.y2 - bounds.y1) + gap*2,
"stroke_color_rgba", 0xFFFFFFFFL,
- "fill_color_rgba", 0x0000FF90L,
+ "fill_color_rgba", 0X5599FFCCL,
"line-width", (double) 2,
"radius-x", (double) 10,
"radius-y", (double) 10,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]