static Color GetSystemColor (SystemColor id) { IntPtr clr = NativeMethods.moon_windowing_system_get_system_color (NativeMethods.runtime_get_windowing_system (), (int) id); if (clr == IntPtr.Zero) return new Color (); unsafe { return ((UnmanagedColor *) clr)->ToColor (); } }