* Added a constructor to gdk/Point.custom
svn path=/trunk/gtk-sharp/; revision=11316
This commit is contained in:
parent
8e2bef6468
commit
3b905a607c
2 changed files with 20 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2003-02-07 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||||
|
* Added a constructor to gdk/Point.custom
|
||||||
|
|
||||||
2003-02-06 Duncan Mak <duncan@ximian.com>
|
2003-02-06 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
* sources/Gtk.metadata: Correct the metadata for the HTMLStream
|
* sources/Gtk.metadata: Correct the metadata for the HTMLStream
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
// Gdk.Point.custom - Gdk Point class customizations
|
// Gdk.Point.custom - Gdk Point class customizations
|
||||||
//
|
//
|
||||||
// Author: Jasper van Putten <Jaspervp@gmx.net>
|
// Author: Jasper van Putten <Jaspervp@gmx.net>
|
||||||
|
// Author: Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||||
//
|
//
|
||||||
// (c) 2002 Jasper van Putten
|
// (c) 2002 Jasper van Putten
|
||||||
|
// (c) 2003 Martin Willemoes Hansen
|
||||||
//
|
//
|
||||||
// This code is inserted after the automatically generated code.
|
// This code is inserted after the automatically generated code.
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToString method
|
/// ToString method
|
||||||
/// </summary>
|
/// </summary>
|
||||||
///
|
///
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// returns a string representation of this point
|
/// returns a string representation of this point
|
||||||
///
|
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
|
||||||
public override string ToString ()
|
public override string ToString ()
|
||||||
|
@ -21,4 +21,17 @@ public override string ToString ()
|
||||||
return String.Format ("({0},{1})", x, y);
|
return String.Format ("({0},{1})", x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Point Constructor
|
||||||
|
/// </summary>
|
||||||
|
///
|
||||||
|
/// <remarks>
|
||||||
|
/// Constructs a new Point with the specified
|
||||||
|
/// coordinates.
|
||||||
|
/// </remarks>
|
||||||
|
|
||||||
|
public Point (int x, int y)
|
||||||
|
{
|
||||||
|
this.x = x;
|
||||||
|
this.y = y;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue