2003-02-28 07:41:59 +00:00
|
|
|
// 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.
|
2003-02-28 07:28:06 +00:00
|
|
|
|
2003-02-28 07:41:59 +00:00
|
|
|
|
|
|
|
[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)
|
2003-02-28 07:28:06 +00:00
|
|
|
{
|
2003-02-28 07:41:59 +00:00
|
|
|
return gdk_colormap_alloc_color (Handle, ref color, writeable, best_match);
|
2003-02-28 07:28:06 +00:00
|
|
|
}
|
2003-02-28 07:41:59 +00:00
|
|
|
|