internal extern static int _XAllocColor(IntPtr display, IntPtr Colormap, ref XColor colorcell_def); internal static int XAllocColor(IntPtr display, IntPtr Colormap, ref XColor colorcell_def) {