[gbrainy] Reload theme at drawing area widget



commit 876036764c532ede071b17a00bbc8cb030c7c385
Author: Jordi Mas <jmas softcatala org>
Date:   Fri May 20 22:00:23 2011 +0200

    Reload theme at drawing area widget

 src/Clients/Classical/Widgets/GameDrawingArea.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/Classical/Widgets/GameDrawingArea.cs b/src/Clients/Classical/Widgets/GameDrawingArea.cs
index 766ef40..2e24571 100644
--- a/src/Clients/Classical/Widgets/GameDrawingArea.cs
+++ b/src/Clients/Classical/Widgets/GameDrawingArea.cs
@@ -71,6 +71,12 @@ namespace gbrainy.Clients.Classical.Widgets
 			SolutionIcon = SolutionType.None;
 		}
 
+		public void ReloadBackground ()
+		{
+			CairoContextEx.ResetDrawBackgroundCache ();
+			QueueDraw ();
+		}
+
 		protected override bool OnExposeEvent (Gdk.EventExpose args)
 		{
 			if (!IsRealized)



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