10 lines
391 B
Plaintext
10 lines
391 B
Plaintext
|
[DllImport("libgdk-win32-2.0-0.dll", EntryPoint="gdk_colormap_alloc_color")]
|
||
|
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)
|
||
|
{
|
||
|
bool raw_ret = _gdk_colormap_alloc_color(Handle, ref color, writeable, best_match);
|
||
|
bool ret = raw_ret;
|
||
|
return ret;
|
||
|
}
|