gcompris r3650 - in branches/gcomprixogoo: . src/clockgame-activity src/clockgame-activity/resources/clockgame



Author: bcoudoin
Date: Sun Dec 21 23:56:08 2008
New Revision: 3650
URL: http://svn.gnome.org/viewvc/gcompris?rev=3650&view=rev

Log:
	Integrated original svg images in the clockgame activity.



Added:
   branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/clockgame-bg.svgz   (contents, props changed)
Removed:
   branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/clockgame-bg.jpg
Modified:
   branches/gcomprixogoo/ChangeLog
   branches/gcomprixogoo/src/clockgame-activity/clockgame.c
   branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/Makefile.am

Modified: branches/gcomprixogoo/src/clockgame-activity/clockgame.c
==============================================================================
--- branches/gcomprixogoo/src/clockgame-activity/clockgame.c	(original)
+++ branches/gcomprixogoo/src/clockgame-activity/clockgame.c	Sun Dec 21 23:56:08 2008
@@ -145,11 +145,11 @@
       gcomprisBoard=agcomprisBoard;
 
       gc_set_background(goo_canvas_get_root_item(gcomprisBoard->canvas),
-			      "clockgame/clockgame-bg.jpg");
+			      "clockgame/clockgame-bg.svgz");
 
       /* set initial values for this level adjusted to
 	 fit the watch background */
-      cx =  BOARDWIDTH/2;
+      cx =  BOARDWIDTH/2 + 16;
       cy =  BOARDHEIGHT*0.4 + 42;
       clock_size = BOARDHEIGHT*0.3;
 
@@ -158,10 +158,11 @@
       gcomprisBoard->sublevel=1;
       gcomprisBoard->number_of_sublevel=3; /* Go to next level after this number of 'play' */
       gc_score_start(SCORESTYLE_NOTE,
-			   BOARDWIDTH - 195,
-			   BOARDHEIGHT - 30,
+		     BOARDWIDTH - 195,
+		     30,
 			   gcomprisBoard->number_of_sublevel);
       gc_bar_set(GC_BAR_LEVEL);
+      gc_bar_location(BOARDWIDTH - 200, -1, 0.8);
 
       clockgame_next_level();
 

Modified: branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/Makefile.am
==============================================================================
--- branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/Makefile.am	(original)
+++ branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/Makefile.am	Sun Dec 21 23:56:08 2008
@@ -1,5 +1,5 @@
 imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/clockgame
 img_DATA = \
-	clockgame-bg.jpg
+	clockgame-bg.svgz
 
 EXTRA_DIST = $(img_DATA)

Added: branches/gcomprixogoo/src/clockgame-activity/resources/clockgame/clockgame-bg.svgz
==============================================================================
Binary file. No diff available.



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