2003-03-03 Miguel de Icaza <miguel@ximian.com>

* gdk/Rectangle.custom: Add a Rectangle constructor that takes for
	arguments.

svn path=/trunk/gtk-sharp/; revision=12147
This commit is contained in:
Miguel de Icaza 2003-03-03 17:43:22 +00:00
parent d094f96b82
commit 7e57b3b9a3
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-03-03 Miguel de Icaza <miguel@ximian.com>
* gdk/Rectangle.custom: Add a Rectangle constructor that takes for
arguments.
2003-03-02 Miguel de Icaza <miguel@ximian.com>
* glib/Markup.cs: Add new file.

View file

@ -21,4 +21,11 @@ public override string ToString ()
return String.Format ("{0}x{1}+{2}+{3}", width, height, x, y);
}
public Rectangle (int x, int y, int width, int height)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}