[mono/monodevelop] 4f7ff786: [Debugger] Oops, forgot to add a file

"Jeffrey Stedfast ([email protected])" <[email protected]> Thu, 7 Nov 2013 21:21:50 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000142347150fa-d64cd8b9-f9db-4673-9543-5615e4203a1c-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/2872b361571b...4f7ff7868ffd

   Commit: 4f7ff7868ffdd9d7f93fd9126dcc9bb7f302d827
   Author: Jeffrey Stedfast <[email protected]> (jstedfast)
     Date: 2013-11-07 21:19:40 GMT
      URL: https://github.com/mono/monodevelop/commit/4f7ff7868ffdd9d7f93fd9126dcc9bb7f302d827

[Debugger] Oops, forgot to add a file

Added paths:
  A main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/InfoFrame.cs

Added: main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/InfoFrame.cs
===================================================================
@@ -0,0 +1,57 @@
+//
+// InfoFrame.cs
+//
+// Author:
+//       Jeffrey Stedfast <[email protected]>
+//
+// Copyright (c) 2013 Xamarin Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+
+using Gtk;
+
+namespace MonoDevelop.Debugger
+{
+	[System.ComponentModel.ToolboxItem (true)]
+	class InfoFrame : Gtk.Frame
+	{
+		public InfoFrame ()
+		{
+			Shadow = ShadowType.EtchedIn;
+		}
+
+		public InfoFrame (Widget child) : this ()
+		{
+			Child = child;
+		}
+
+		protected override bool OnExposeEvent (Gdk.EventExpose evnt)
+		{
+			using (Cairo.Context cr = Gdk.CairoHelper.Create (GdkWindow)) {
+				cr.Rectangle (Allocation.X, Allocation.Y, Allocation.Width, Allocation.Height);
+				cr.SetSourceRGB (1.0, 0.98, 0.91);
+				cr.Fill ();
+			}
+
+			return base.OnExposeEvent (evnt);
+		}
+	}
+}


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches