mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 17:15:34 +00:00
71bfd023be
* 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
23 lines
450 B
Plaintext
23 lines
450 B
Plaintext
// Gdk.Color.custom - Gdk Color class customizations
|
|
//
|
|
// Author: Jasper van Putten <Jaspervp@gmx.net>
|
|
//
|
|
// (c) 2002 Jasper van Putten
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
|
|
/// <summary>
|
|
/// ToString method
|
|
/// </summary>
|
|
///
|
|
/// <remarks>
|
|
/// returns a string representation of this color
|
|
///
|
|
/// </remarks>
|
|
|
|
public override string ToString ()
|
|
{
|
|
return String.Format ("rgb:{0:x}/{0:x}/{0:x}", red, green, blue);
|
|
}
|