gbrainy r360 - trunk/src



Author: jmas
Date: Sat May 31 19:03:03 2008
New Revision: 360
URL: http://svn.gnome.org/viewvc/gbrainy?rev=360&view=rev

Log:
2008-05-31 Jordi Mas <jmas softcatala org>

	* GameDrawingArea.cs: Use Bold for the welcome text



Modified:
   trunk/src/ChangeLog
   trunk/src/GameDrawingArea.cs

Modified: trunk/src/GameDrawingArea.cs
==============================================================================
--- trunk/src/GameDrawingArea.cs	(original)
+++ trunk/src/GameDrawingArea.cs	Sat May 31 19:03:03 2008
@@ -90,12 +90,15 @@
 		gr.Scale (area_width, area_height);
 		DrawBackground (gr);
 		gr.Color = new Cairo.Color (0, 0, 0, 1);
+		gr.Save ();
 		gr.SetFontSize (0.035);
+		gr.SelectFontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
 
 		gr.MoveTo (0.05, y);
 		gr.ShowText (String.Format (Catalog.GetString ("Welcome to gbrainy {0}"), Defines.VERSION));
 		gr.Stroke ();
 
+		gr.Restore ();
 		gr.SetFontSize (0.03);
 		gr.DrawStringWithWrapping (0.05, y + 0.08, line_space, Catalog.GetString ("gbrainy is a brain teaser game and trainer to have fun and to keep your brain trained. It includes:"));
 



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