[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] porting



Am Di, 9.11.2010, 22:55 schrieb Eero Tamminen:
> On Tuesday 09 November 2010, Mark Duckworth wrote:
>> On 11/9/10 5:28 AM, Peter Slegg wrote:
>> > wrote: I thought you might mean that, I wasn't sure. Presumably the
>> GTK
>> > calls could be mapped to GEM through an extra layer.
>>
>> GTK is literally made to do this.  There is a layer called GDK.  You
>> make a new backend which has mapping functions for windows, graphics
>> primitives, etc.
>
> Although Gtk & Gdk are ported to Windows, OSX and plain framebuffer, GDK
> is
> modeled after how X11 works (as it was initially written for X).  For
> example text widgets handle focus by using a sub window.  I'm not sure
> whether that would be an issue for GEM port.

I just read: GTK doesn't use THAT much of X features...

if someone is really interested in porting GTK to GEM, he/she should look
how it is ported to Wayland ;)

Greets,
m