nanogui: NanoX version 0.3 released
Subject:
RE: NanoX version 0.3 released
From:
Alexander Peuchert ####@####.####
Date:
11 May 1999 10:00:04 -0000
Message-Id: <Pine.GSO.4.02.9905111154400.24754-100000@rumburak>
On Tue, 11 May 1999, Alex Holden wrote:
> On Tue, 11 May 1999, Alexander Peuchert wrote:
> > > > nano server <-> nano API looking like a cut down GDK <-> thin GDK
> > > compatibility layer, other toolkit or app <-> other apps
> > Well, with a cut down GDK not exactly like the original GDK, GTK apps wont
> > run ...
>
> Note the "thin GDK compatibility layer". Don't put GDK itself into the
> nano-X client library, just something which is close enough that the extra
> library needed to make it into a full GDK API is very small, but without
> any of the unnecessary bloat.
>
> > You/We could provide the complete GDK API, but provide dummy functions for
> > parts that aren't supported.
>
> Why not provide the complete GDK API, but with the part inappropriate for
> nano-X itself in a seperate library?
Well, if we split the GDK API, it wont be GDK anymore.
I prefer the approach of only providing a GDK API for nano-X, because it
is more elegant. Just one lib. See:
gcc some_code.c -o an_app -lnanoX // for native apps
gcc gtk_code.c -o gtk_app -lnanoX -lgtk // for GTK apps
less lib code!
Another thing: what is >inappropriate< for nano-X ?
>
> --------------- Linux- the choice of a GNU generation. --------------
> : Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
> -------------------- http://www.linuxhacker.org/ --------------------
>
- alex
Alexander Peuchert
####@####.####
http://www.peuchert.de ( not very interesting yet ;-) )