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; +}