Duncan Mak | 1 Dec 2004 01:56

Re: Control and Component Status

On Tue, 2004-11-30 at 15:09 -0700, Peter Dennis Bartok wrote:
> If you are working on a particular component, or if you are planning or 
> would like to, please let me know so I can update the page. You usually also 
> can reach someone from the MWF team on #mono-winforms if you have questions 
> or are wondering about implementation details or possible bugs.

I'm interested in working on Splitter, but I heard that Marek might be
signed up for it.

--

-- 
Duncan Mak <duncan <at> ximian.com>
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

andrew@castlesoft.com.au | 1 Dec 2004 02:31
Picon
Favicon
Gravatar

Winforms and OSX

Howdi all..

Just brought a new toy.... A new Powerbook and was wondering
if anyone was working on the System.Drawing layer for OSX ?

I use Mono dumps for Windows and Linux, and it would be nice to have
my code running on all 3 platforms..

Any info re: System.Drawing and OSX appreciated..

Andrew

Duncan Mak | 1 Dec 2004 03:05

Re: Control and Component Status

On Tue, 2004-11-30 at 19:56 -0500, Duncan Mak wrote:
> I'm interested in working on Splitter, but I heard that Marek might be
> signed up for it.

I looked at NotifyIcon and it looked doable, so I'm working on that now.
If I have time, I might also do Splitter.

--

-- 
Duncan Mak <duncan <at> ximian.com>
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Kelly Leahy | 1 Dec 2004 03:06

Re: Winforms and OSX

Andrew,

I was just thinking about working on a special version
of libgdiplus using Quartz2D on OS X.  This, I think,
is one of the early steps to making a MWF
implementation for OS X.  Another being the so-called
"driver" for Aqua / Carbon.  Wanna help?

Currently, you can run on OS X using the X11 (from
apple or Fink - I recommend Fink for this).  There are
several things that don't currently work though (the
IDE for instance) on OS X.

Kelly

--- "andrew <at> castlesoft.com.au"
<andrew <at> castlesoft.com.au> wrote:

> Howdi all..
> 
> Just brought a new toy.... A new Powerbook and was
> wondering
> if anyone was working on the System.Drawing layer
> for OSX ?
> 
> I use Mono dumps for Windows and Linux, and it would
> be nice to have
> my code running on all 3 platforms..
> 
> Any info re: System.Drawing and OSX appreciated..
(Continue reading)

Duncan Mak | 1 Dec 2004 03:27

Re: Winforms and OSX

Hello Kelly,

On Tue, 2004-11-30 at 18:06 -0800, Kelly Leahy wrote: 
> I was just thinking about working on a special version
> of libgdiplus using Quartz2D on OS X.  This, I think,
> is one of the early steps to making a MWF
> implementation for OS X.  Another being the so-called
> "driver" for Aqua / Carbon.  Wanna help?

I think someone started work on a CoreGraphics back-end to Cairo. Once
that is finished, I think libgdiplus will hopefully work seamlessly on
Mac OS X.

To find out more information, you should check the mailing list archives
on the Cairo site (http://www.cairographics.org)

--

-- 
Duncan Mak <duncan <at> ximian.com>
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Kelly Leahy | 1 Dec 2004 03:37

Re: Winforms and OSX

I couldn't find anything about it.

--- Duncan Mak <duncan <at> ximian.com> wrote:

> Hello Kelly,
> 
> On Tue, 2004-11-30 at 18:06 -0800, Kelly Leahy
> wrote: 
> > I was just thinking about working on a special
> version
> > of libgdiplus using Quartz2D on OS X.  This, I
> think,
> > is one of the early steps to making a MWF
> > implementation for OS X.  Another being the
> so-called
> > "driver" for Aqua / Carbon.  Wanna help?
> 
> I think someone started work on a CoreGraphics
> back-end to Cairo. Once
> that is finished, I think libgdiplus will hopefully
> work seamlessly on
> Mac OS X.
> 
> To find out more information, you should check the
> mailing list archives
> on the Cairo site (http://www.cairographics.org)
> 
> -- 
> Duncan Mak <duncan <at> ximian.com>
> _______________________________________________
(Continue reading)

Miguel de Icaza | 1 Dec 2004 04:23

Re: Winforms and OSX

Hello,

> I was just thinking about working on a special version
> of libgdiplus using Quartz2D on OS X.  This, I think,
> is one of the early steps to making a MWF
> implementation for OS X.  Another being the so-called
> "driver" for Aqua / Carbon.  Wanna help?

The most important part on a native port to OSX is not Cairo (that one
after all will for the most part just work).

What you need is the platform driver.  The platform driver is the one
that creates windows, interfaces to the mouse and keyboard and handles
other Windowing-specific features.

If you do the driver, you can still use Cairo/Libgdiplus+ untouched
(later on, if you choose you can fine tune those, or work on a Quartz
backend to either one).   But if you start here, you will not have much
code to test with.

Miguel.
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Kelly Leahy | 1 Dec 2004 05:42

Re: Winforms and OSX

--- Miguel de Icaza <miguel <at> ximian.com> wrote:
> If you do the driver, you can still use
> Cairo/Libgdiplus+ untouched

Won't that be mixing X11 with Aqua?

Libgdiplus+ uses X11 windows for its drawing surface,
doesn't it?  I don't think I can mix the UI elements
from OSX with the X11 windows from libgdiplus.

Kelly
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Stefan Csomor | 1 Dec 2004 07:04
Picon
Gravatar

RE: Winforms and OSX

Hi

I have not had the time to dive into reading the new code, but from what I
understand about your intentions, you will have to jump to the other side of
the river. X11 will not be available on the Carbon side.

IIUC you don't want to instantiate a true platform instance of a eg
checkbox, but create a 'user-defined' window which will - deep down in the
WM_PAINT message - draw its appearance. On the mac this should be done using
ThemeDrawing APIs, everything else won't be percieved of as 'native'. 

So you won't need a full fledged Quartz2D renderer at the moment, you will
only have to stuff in the cgContext from the Carbon kEventControlDraw event
and pick it up in the WM_PAINT handler and call HIThemeDrawButton
(HITheme.h) The important part will be to setup the Carbon Event handlers at
the appropriate places, repackage and feed into the WM_ message system.

Sorry, if I misunderstood something

Best,

Stefan (wxMac)

> -----Original Message-----
> From: mono-winforms-list-admin <at> lists.ximian.com [mailto:mono-winforms-
> list-admin <at> lists.ximian.com] On Behalf Of Miguel de Icaza
> Sent: Mittwoch, 1. Dezember 2004 04:23
> To: Kelly Leahy
> Cc: andrew <at> castlesoft.com.au; Mono-winforms-list <at> lists.ximian.com
> Subject: Re: [Mono-winforms-list] Winforms and OSX
(Continue reading)

Miguel de Icaza | 1 Dec 2004 07:27

Re: Winforms and OSX

Hello,

> > If you do the driver, you can still use
> > Cairo/Libgdiplus+ untouched
> 
> Won't that be mixing X11 with Aqua?
> 
> Libgdiplus+ uses X11 windows for its drawing surface,
> doesn't it?  I don't think I can mix the UI elements
> from OSX with the X11 windows from libgdiplus.

Just in a couple of places, and its a tiny piece of work that can be
factored out depending on the port.

Miguel
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Gmane