2002-10-08 Miguel de Icaza <miguel@ximian.com>

* gdk/Point.custom: Use (x,y) instead.

	* gdk/Color.custom: Use the X rgb color format specification.

	* gdk/Rectangle.custom: Use the X geometry format for Rectangles.

svn path=/trunk/gtk-sharp/; revision=8066
This commit is contained in:
Miguel de Icaza 2002-10-08 16:26:24 +00:00
parent de7e997c13
commit 71bfd023be
4 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2002-10-08 Miguel de Icaza <miguel@ximian.com>
* gdk/Point.custom: Use (x,y) instead.
* gdk/Color.custom: Use the X rgb color format specification.
* gdk/Rectangle.custom: Use the X geometry format for Rectangles.
2002-10-07 Vladimir Vukicevic <vladimir@pobox.com>
* glue/style.c, gtk/Style.custom: handle

View file

@ -18,5 +18,5 @@
public override string ToString ()
{
return "Gdk.Color, pixel:" + this.pixel + ",red:"+ this.red + ",green:" + this.green + ",blue:" + this.blue;
return String.Format ("rgb:{0:x}/{0:x}/{0:x}", red, green, blue);
}

View file

@ -18,7 +18,7 @@
public override string ToString ()
{
return "Gdk.Point, x:" + this.x + ",y:" + this.y;
return String.Format ("({0},{1})", x, y);
}

View file

@ -18,7 +18,7 @@
public override string ToString ()
{
return "Gdk.Rectangle, x:" + this.x + ",y:" + this.y + ",width:" + this.width + ",height:" + this.height;
return String.Format ("{0}x{1}+{2}+{3}", width, height, x, y);
}