mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 05:55:30 +00:00
5fa688fb04
* api/gdk-api.xml: * sources/Gdk.metadata: hide GdkColormap.AllocColor. * gdk/Colormap.custom: AllocColor is here. * gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri. svn path=/trunk/gtk-sharp/; revision=12055
19 lines
546 B
Plaintext
19 lines
546 B
Plaintext
// Gdk.Color.custom - Gdk Color class customizations
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
|
|
//
|
|
// (c) 2003 Ximian, Inc. (gonzalo@ximian.com)
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
|
|
[DllImport("libgdk-win32-2.0-0.dll")]
|
|
static extern bool gdk_colormap_alloc_color(IntPtr raw, ref Gdk.Color color, bool writeable, bool best_match);
|
|
|
|
public bool AllocColor (ref Gdk.Color color, bool writeable, bool best_match)
|
|
{
|
|
return gdk_colormap_alloc_color (Handle, ref color, writeable, best_match);
|
|
}
|
|
|