diff --git a/ChangeLog b/ChangeLog index 7835178c1..5760fe1be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2003-02-07 Martin Willemoes Hansen + * Added a constructor to gdk/Point.custom + 2003-02-06 Duncan Mak * sources/Gtk.metadata: Correct the metadata for the HTMLStream diff --git a/gdk/Point.custom b/gdk/Point.custom index 329e6d0c4..0914dea2a 100644 --- a/gdk/Point.custom +++ b/gdk/Point.custom @@ -1,19 +1,19 @@ // Gdk.Point.custom - Gdk Point class customizations // // Author: Jasper van Putten +// Author: Martin Willemoes Hansen // // (c) 2002 Jasper van Putten +// (c) 2003 Martin Willemoes Hansen // // This code is inserted after the automatically generated code. - /// -/// ToString method +/// ToString method /// /// /// -/// returns a string representation of this point -/// +/// returns a string representation of this point /// public override string ToString () @@ -21,4 +21,17 @@ public override string ToString () return String.Format ("({0},{1})", x, y); } +/// +/// Point Constructor +/// +/// +/// +/// Constructs a new Point with the specified +/// coordinates. +/// +public Point (int x, int y) +{ + this.x = x; + this.y = y; +}