From 7e57b3b9a3136aa9d10759ea025e1e2929fd4875 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 3 Mar 2003 17:43:22 +0000 Subject: [PATCH] 2003-03-03 Miguel de Icaza * gdk/Rectangle.custom: Add a Rectangle constructor that takes for arguments. svn path=/trunk/gtk-sharp/; revision=12147 --- ChangeLog | 5 +++++ gdk/Rectangle.custom | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8977bc739..75730e7b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-03 Miguel de Icaza + + * gdk/Rectangle.custom: Add a Rectangle constructor that takes for + arguments. + 2003-03-02 Miguel de Icaza * glib/Markup.cs: Add new file. diff --git a/gdk/Rectangle.custom b/gdk/Rectangle.custom index a01af2c22..50cf8459b 100644 --- a/gdk/Rectangle.custom +++ b/gdk/Rectangle.custom @@ -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; +}