Bartc said:
I don't use networking or threads but graphics would be nice to have
in a /simple/ package, not something monstrous like GTK; quote from
the webpage:
"You will need to get the GLib, cairo, Pango, ATK, GTK+,
gettext-runtime, libpng, libjpeg, libtiff and zlib developer packages
to build against GTK+, and the corresponding runtime packages to run
GTK+ programs." Oh, is that all?
Well GTK does do a *lot* for you. If you wanted to do all that yourself,
you would probably find yourself duplicating at least the core
functionality of most of the above. Would your objections be put aside
if GTK had bundled all the above in one package? It makes no difference
either way, IMHO, as s/w like GTK is *meant* to run under modern
operating systems which contain *thousands* of other s/w alongside.
Admittedly it's not pretty, nor elegant, like say DOS, or the Linux of
early 90s, code size and leanness is often the first victim of
functionality and portability. I don't see any easy way out.
All I want is something only slightly more advanced than readpixel()
and writepixel(). And by simple I suggest *one* include file and *one*
dll file (or equivalent).
Ah, if that's all that you want, you ought to be able to write it
youself for the platforms that interest you. Unfortunately an average
GUI s/w developer needs more than this to produce the type of programs
that are appreciated these days.
The GTK download seems to contain about 1800 files.
Well if I counted the number of files on my system and tried to wrap my
brain around them all, I'm sure I'd soon go mad. You'll have to deal
with them piece by piece, and yes, that leads to a distressing feeling
of lack of understanding or control, but I don't see what can be done
about it short of going back to DOS.
PS. Perhaps one of these s/w might be what you are looking for?
<
http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer>
<
http://en.wikipedia.org/wiki/Allegro_library>
<
http://en.wikipedia.org/wiki/Freeglut>
<
http://en.wikipedia.org/wiki/GLUI>
<
http://en.wikipedia.org/wiki/FLTK>
and
<
http://en.wikipedia.org/wiki/List_of_widget_toolkits>