* gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
* Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.
svn path=/trunk/mcs/; revision=89718
+2007-11-15 Geoff Norton <gnorton@novell.com>
+
+ * gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
+ * Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.
+
2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
* ColorTranslator.cs: Special case handling for LightGray versus
IntPtr graphics;
if (GDIPlus.UseCocoaDrawable) {
+ throw new NotImplementedException ();
+/* TODO: Fix this code to handle the new libgdiplus
CarbonContext context = Carbon.GetCGContextForNSView (hwnd);
GDIPlus.GdipCreateFromQuartz_macosx (context.ctx, context.width, context.height, out graphics);
g.context = context;
return g;
+*/
}
if (GDIPlus.UseQuartzDrawable) {
CarbonContext context = Carbon.GetCGContextForView (hwnd);
public const int LANG_NEUTRAL = 0;
public static IntPtr Display = IntPtr.Zero;
public static bool UseX11Drawable;
- public static bool UseQuartzDrawable = (Environment.GetEnvironmentVariable ("MONO_MWF_USE_QUARTZ_BACKEND") != null);
+ public static bool UseQuartzDrawable = (Environment.GetEnvironmentVariable ("MONO_MWF_USE_CARBON_BACKEND") != null);
public static bool UseCocoaDrawable = (Environment.GetEnvironmentVariable ("MONO_GDIP_USE_COCOA_BACKEND") != null);
#region gdiplus.dll functions