[Mono-winforms-list] Theming in MWF
Jonathan S. Chambers
Jonathan.Chambers at ansys.com
Fri Jul 29 10:25:10 EDT 2005
I think the problem is not using native widgets (as in SWT) as a basis for a toolkit. The problem is mapping those widgets to SWF (since the API for the target toolkit already exists). When SWT was written, I am sure platform dependent issues were considered when defining the API. I doubt MS did that with SWF. Thus, it's much harder to retrofit cross platform code to SWF, than it would be in writing a toolkit from scratch.
- Jonathan
-----Original Message-----
From: Kornél Pál [mailto:kornelpal at hotmail.com]
Sent: Friday, July 29, 2005 9:37 AM
To: Jonathan S. Chambers; Jordi Mas
Cc: mono-winforms-list at ximian.com
Subject: Re: [Mono-winforms-list] Theming in MWF
Yes I am suggesting using native widgets on all operating systems.
Note that controls have a FlatStyle property and native widget
representation (I mean the appeareance regardless of using native or managed
widgets internally) should be used when it is FlatStyle.System otherwise
System.Drawing should be used.
Kornél
----- Original Message -----
From: "Jonathan S. Chambers" <Jonathan.Chambers at ansys.com>
To: "Jordi Mas" <jordi at ximian.com>; "Kornél Pál" <kornelpal at hotmail.com>
Cc: <mono-winforms-list at ximian.com>
Sent: Friday, July 29, 2005 3:28 PM
Subject: RE: [Mono-winforms-list] Theming in MWF
Are you suggesting something more akin to the SWT implementation on Java?
Where native widgets are used when possible, and when not a managed
implementation is done?
-----Original Message-----
From: mono-winforms-list-bounces at lists.ximian.com
[mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Jordi Mas
Sent: Friday, July 29, 2005 8:37 AM
To: Kornél Pál
Cc: mono-winforms-list at ximian.com
Subject: Re: [Mono-winforms-list] Theming in MWF
El dv 29 de 07 del 2005 a les 14:38 +0200, en/na Kornél Pál va escriure:
Hi Kornél,
> As I know MWF uses a single theme and it draws everything using
> System.Drawing and does not use any native control representations.
> On Windows it is possible to let the system draw controls. If it possible
> under X11 and OS X as well?
Well, that you are asking is that Microsoft have done for SWF, a light
wrapper on the Win32 API (including controls).
To archive what you want you will need a new SWF implementation, cannot
be done with the current model or at least easily.
> On Windows there are system colors that could be used to color controls.
> Is
> the something equivalent on X11 and OS X?
System Colors and MWF are in our TODO list... we have not started on
that yet.
Jordi,
--
Jordi Mas i Hernàndez - Mono development team - http://www.mono-project.com
Homepage and LiveJournal at http://www.softcatala.org/~jmas
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list