[Mono-winforms-list] Initial MacOS/Quartz patches
Peter Dennis Bartok
Tue, 7 Dec 2004 20:24:37 -0700
Awesome that you're working on this, thanks!
Can you wait commiting until you have the other files ready? If you were to
commit that patch right now we wouldn't be able to build MWF anymore, since
it includes XplatUIOSX.cs into the sources and that's not part of the patch.
(Maybe you just forgot to attach?)
The patch looks fine so far.
Out of curiosity, when creating the cairo context, you have to pass the
width and height of the window in addition to the window handle?
From: "kangaroo" <firstname.lastname@example.org>
Date: 07 December, 2004 19:43
Subject: [Mono-winforms-list] Initial MacOS/Quartz patches
>Heres the first in the patchset for MacOS/Quartz support;
>this set is relatively simple; we add a FromHwndWithSize call to
>graphics (we need to pass width and height for quartz) for mac only
>calls; we check for an environment variable
>(MONO_MWF_USE_QUARTZ_BACKEND) to see if we're going to use
>XplatUIOSX.cs (this will be fine going forward cause we can set that in
>the bundlemaker script)
>umm; and it adds the call into the libgdiplus land
>libgdiplus patches to follow soon; they're a little more difficult due
>to X11/Quartz conflicting definitions (Point/Rect/Etc); I should be
>able to make them play nice tho by just avoiding some of the explicity
>casting in quartz that isn't really needed.
>Ok to commit?