[M3devel] On Trestle, OpenGL, etc...
Dirk Muysers
dmuysers at hotmail.com
Sun Jan 24 10:32:13 CET 2010
What about IUP ?
It's the one with the narrowest interface...
--------------------------------------------------
From: "Chris" <Highjinks at gmx.com>
Sent: Saturday, January 23, 2010 11:02 PM
To: <m3devel at elegosoft.com>
Subject: Re: [M3devel] On Trestle, OpenGL, etc...
> On Sat, 23 Jan 2010 12:17:07 +0100
> Daniel Solaz <m3 at sol42.com> wrote:
>
>> I think the only way to go is a single Modula-3 API that wraps the native
>> toolkit on each platform, sort of like wxwidgets. Where there is no
>> single native toolkit, choose the best or most used. Portability, full
>> interoperability and looking/feeling native are the key points here.
>>
>> Developing a new toolkit in pure Modula-3 is a waste of effort. Sun has
>> spent years and billions in Swing, and it still sucks in a different way
>> every platform it works on. Worst of all (for me at least) is how it
>> incorrectly and incompletely mimics the native look and feel, mainly
>> Motif and GTK, but Mac OS X too; on Windows it looks way better but is
>> still far from perfect. SWT is a bit more difficult to use, and not
>> available (yet?) on every platform, but to me it is the right way to go.
>>
>> Making Trestle look good will only get us so far. I haven't looked at it
>> for years, but unless it has changed quite a bit it would require
>> rewriting significant parts. Text handling comes to mind, and scrollbars
>> too.
>>
>> Regards.
>> -Daniel
>
> Good points.
>
> I think your correct that creating bindings to some toolkits are the way
> to go, for now. Of course the lower level X and OpenGL bindings will still
> need to be upgraded, just so that thier available for those who want to
> use them.(I know I will.)
>
> Right now, as far as toolkits go, I'm looking at bindings to
> Cairo/Pango/Glitz. Maybe an SDL binding. Full GTK and QT bindings are
> good. Maybe bindings to Clutter(http://clutter-project.org/) and
> Amanith(http://www.amanith.org/) would be useful.
>
> So, bindings are the way to start at least. Alright then. Time to get
> hacking.
> --
> Chris <Highjinks at gmx.com>
>
More information about the M3devel
mailing list