gcompris r3682 - in branches/gcomprixogoo: boards/skins/babytoy boards/skins/gartoon src/click_on_letter-activity src/click_on_letter-activity/resources/click_on_letter
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3682 - in branches/gcomprixogoo: boards/skins/babytoy boards/skins/gartoon src/click_on_letter-activity src/click_on_letter-activity/resources/click_on_letter
- Date: Sat, 17 Jan 2009 20:10:05 +0000 (UTC)
Author: bcoudoin
Date: Sat Jan 17 20:10:04 2009
New Revision: 3682
URL: http://svn.gnome.org/viewvc/gcompris?rev=3682&view=rev
Log:
moved skin repeat.png
Added:
branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/repeat.svg
Removed:
branches/gcomprixogoo/boards/skins/babytoy/repeat.png
branches/gcomprixogoo/boards/skins/gartoon/repeat.png
Modified:
branches/gcomprixogoo/src/click_on_letter-activity/click_on_letter.c
branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/Makefile.am
Modified: branches/gcomprixogoo/src/click_on_letter-activity/click_on_letter.c
==============================================================================
--- branches/gcomprixogoo/src/click_on_letter-activity/click_on_letter.c (original)
+++ branches/gcomprixogoo/src/click_on_letter-activity/click_on_letter.c Sat Jan 17 20:10:04 2009
@@ -183,6 +183,18 @@
gamewon = FALSE;
pause_board(FALSE);
}
+
+ RsvgHandle *svg_handle;
+ svg_handle = gc_rsvg_load("click_on_letter/repeat.svg");
+ if(svg_handle) {
+ gc_bar_set_repeat_icon(svg_handle);
+ g_object_unref(svg_handle);
+ gc_bar_set(GC_BAR_LEVEL|GC_BAR_REPEAT_ICON);
+ } else {
+ gc_bar_set(GC_BAR_LEVEL|GC_BAR_REPEAT);
+ }
+ gc_bar_location(BOARDWIDTH-270, 5, 0.7);
+
}
}
@@ -312,10 +324,6 @@
static void
click_on_letter_next_level()
{
- /* It must be set it for the warning dialogs */
- gc_bar_set(GC_BAR_CONFIG|GC_BAR_LEVEL|GC_BAR_REPEAT);
- gc_bar_location(BOARDWIDTH-270, 5, 0.7);
-
gc_bar_set_level(gcomprisBoard);
click_on_letter_destroy_all_items();
Modified: branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/Makefile.am
==============================================================================
--- branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/Makefile.am (original)
+++ branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/Makefile.am Sat Jan 17 20:10:04 2009
@@ -2,6 +2,7 @@
img_DATA = \
scenery4_background.png \
wagon-green.png \
- wagon-yellow.png
+ wagon-yellow.png \
+ repeat.svg
EXTRA_DIST = $(img_DATA)
Added: branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/repeat.svg
==============================================================================
--- (empty file)
+++ branches/gcomprixogoo/src/click_on_letter-activity/resources/click_on_letter/repeat.svg Sat Jan 17 20:10:04 2009
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg1133"
+ sodipodi:version="0.32"
+ width="64"
+ height="64"
+ xml:space="preserve"
+ sodipodi:docbase="/home/franck/Dessins/Vectoriels/"
+ sodipodi:docname="repeat.svg"
+ inkscape:version="0.46"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0"><metadata
+ id="metadata26"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs1135"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective28" /><linearGradient
+ id="linearGradient1159"><stop
+ style="stop-color:#f3cbd5;stop-opacity:1;"
+ offset="0"
+ id="stop1160" /><stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="1"
+ id="stop1161" /></linearGradient><linearGradient
+ id="linearGradient1140"><stop
+ style="stop-color:#e8182b;stop-opacity:1;"
+ offset="0"
+ id="stop1141" /><stop
+ style="stop-color:#bd5e5e;stop-opacity:1;"
+ offset="1"
+ id="stop1142" /></linearGradient><radialGradient
+ xlink:href="#linearGradient1140"
+ id="radialGradient1143"
+ cx="164.35736"
+ cy="1311.3726"
+ r="255.65675"
+ fx="164.35736"
+ fy="1311.3726"
+ gradientTransform="matrix(2.2359299,0,0,0.4472412,0,130.68333)"
+ gradientUnits="userSpaceOnUse" /><radialGradient
+ xlink:href="#linearGradient1140"
+ id="radialGradient1144"
+ cx="161.4381"
+ cy="1196.3986"
+ r="298.1929"
+ fx="161.4381"
+ fy="1196.3986"
+ gradientTransform="matrix(2.231241,0,0,0.4481811,0,130.68333)"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ xlink:href="#linearGradient1159"
+ id="linearGradient1156"
+ x1="0.46309039"
+ y1="0.72851944"
+ x2="0.47651035"
+ y2="-0.80000097" /><linearGradient
+ xlink:href="#linearGradient1159"
+ id="linearGradient1157"
+ x1="209.52882"
+ y1="1054.3193"
+ x2="210.24257"
+ y2="1024.4417"
+ gradientTransform="matrix(2.096345,0,0,0.4770207,-4.3946983,138.51314)"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ xlink:href="#linearGradient1159"
+ id="linearGradient1158"
+ x1="121.56717"
+ y1="1162.2998"
+ x2="121.70223"
+ y2="1133.9019"
+ gradientTransform="matrix(1.893442,0,0,0.4308503,72.889387,138.94809)"
+ gradientUnits="userSpaceOnUse" /><radialGradient
+ xlink:href="#linearGradient1159"
+ id="radialGradient1162"
+ cx="0.49456102"
+ cy="-1.9794179"
+ r="4.6780686"
+ fx="0.49456102"
+ fy="-1.9794179"
+ gradientTransform="translate(-3.193398e-8,-1.196231e-6)" /><radialGradient
+ xlink:href="#linearGradient1159"
+ id="radialGradient1163"
+ cx="-0.15764123"
+ cy="3.2720683"
+ r="5.3015451"
+ fx="-0.15764123"
+ fy="3.2720683"
+ gradientTransform="matrix(1.237806,0,0,0.807881,5.1749e-8,1.362308e-6)" /><radialGradient
+ xlink:href="#linearGradient1159"
+ id="radialGradient1164"
+ cx="0.9195317"
+ cy="3.1209614"
+ r="5.3015447"
+ fx="0.9195317"
+ fy="3.1209614"
+ gradientTransform="scale(1.237806,0.807881)" /><linearGradient
+ xlink:href="#linearGradient1159"
+ id="linearGradient1167"
+ x1="156.46338"
+ y1="1340.8782"
+ x2="156.43661"
+ y2="1316.3163"
+ gradientTransform="matrix(2.1899955,0,0,0.456622,4.6612815,115.91931)"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient1159"
+ id="linearGradient3194"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.893442,0,0,0.4308503,72.140719,138.87689)"
+ x1="121.56717"
+ y1="1162.2998"
+ x2="121.70223"
+ y2="1133.9019" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient1159"
+ id="linearGradient3198"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.893442,0,0,0.4308503,188.67276,135.18588)"
+ x1="121.56717"
+ y1="1162.2998"
+ x2="121.70223"
+ y2="1133.9019" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient1159"
+ id="linearGradient3180"
+ x1="32.009747"
+ y1="64"
+ x2="32.009747"
+ y2="-0.019491196"
+ gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
+ id="base"
+ showgrid="false"
+ inkscape:zoom="5.3108826"
+ inkscape:cx="36.341516"
+ inkscape:cy="28.553108"
+ inkscape:window-width="1049"
+ inkscape:window-height="719"
+ inkscape:window-x="168"
+ inkscape:window-y="122"
+ inkscape:current-layer="g1191" /><g
+ id="g1191"
+ transform="matrix(0.1211851,0,0,0.1530417,-12.955485,-73.804835)"><path
+ sodipodi:type="arc"
+ style="opacity:0.2119403;fill:url(#linearGradient3180);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.50000000000000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ id="path2402"
+ sodipodi:cx="32.009747"
+ sodipodi:cy="31.990255"
+ sodipodi:rx="32.009747"
+ sodipodi:ry="32.009747"
+ d="M 64.019493,31.990255 A 32.009747,32.009747 0 1 1 0,31.990255 A 32.009747,32.009747 0 1 1 64.019493,31.990255 z"
+ transform="matrix(8.2518395,0,0,6.5341668,106.90658,482.2531)" /><rect
+ style="opacity:1;fill:#692323;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.89999998;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ id="rect2401"
+ width="335.8063"
+ height="59.056099"
+ x="199.76859"
+ y="674.05804" /><path
+ style="font-size:12px;fill:url(#radialGradient1144);fill-rule:evenodd;stroke-width:3.67147437;stroke:#000000;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
+ d="M 633.35823,693.7887 C 633.35823,721.4649 505.1254,765.4415 365.8211,765.4415 C 226.5167,765.4415 109.53276,726.81194 109.53276,699.13564 C 166.32696,674.80004 220.30166,714.42962 359.60606,714.42962 C 498.91036,714.42962 573.22323,672.7939 633.35823,693.7887 z"
+ id="path1139"
+ sodipodi:nodetypes="ccccc" /><path
+ style="font-size:12px;fill:url(#radialGradient1143);fill-rule:evenodd;stroke-width:3.67147437;stroke:#000000;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
+ d="M 633.12622,693.6136 C 553.34951,702.7388 513.35604,692.95495 479.50382,687.41514 C 437.04064,680.46617 271.02496,678.70586 240.8644,689.7859 C 196.81487,705.96831 194.40961,706.87448 110.01412,697.56957 C 206.89832,657.39817 296.84943,601.81798 363.6617,640.0644 C 365.4242,641.3041 369.08527,640.98801 370.64837,639.65781 C 426.67545,593.72899 539.31042,655.8245 633.12622,693.6136 z"
+ id="path1137"
+ sodipodi:nodetypes="csscccc" /><path
+ style="font-size:12px;fill:url(#linearGradient1167);fill-rule:evenodd"
+ d="M 439.04737,712.29293 C 427.4309,723.55985 385.20912,728.1938 360.39022,728.1938 C 337.69172,728.1938 297.30569,725.76379 283.72563,714.76972 C 333.74706,717.35098 388.45646,723.9919 439.04737,712.29293 z"
+ id="path1165"
+ sodipodi:nodetypes="cccc" /><path
+ style="font-size:12px;opacity:1;fill:url(#linearGradient3194);fill-rule:evenodd"
+ d="M 356.01238,645.66386 C 326.62735,639.15761 289.10605,638.19176 260.22475,647.28115 C 260.22475,639.02025 280.2445,630.70586 307.20187,630.70586 C 334.15916,630.70586 356.01238,637.40286 356.01238,645.66386 z"
+ id="path1146"
+ sodipodi:nodetypes="cccc" /><path
+ style="font-size:12px;opacity:1;fill:url(#linearGradient3198);fill-rule:evenodd"
+ d="M 472.54442,641.97285 C 443.15939,635.4666 405.63809,634.50075 376.75679,643.59014 C 376.75679,635.32924 396.77654,627.01485 423.73391,627.01485 C 450.6912,627.01485 472.54442,633.71185 472.54442,641.97285 z"
+ id="path3196"
+ sodipodi:nodetypes="cccc" /></g></svg>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]