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:
parent
d094f96b82
commit
7e57b3b9a3
2 changed files with 12 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue