[Freeciv-Dev] Re: PATCH: Allowing PNGs under GTK
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
----- Original Message -----
From: "Andreas Kemnade" <akemnade@xxxxxxxxxxx>
To: "Baumans" <baumans@xxxxxxxxxxxxx>
Sent: Tuesday, March 13, 2001 1:45 PM
Subject: [Freeciv-Dev] PATCH: Allowing PNGs under GTK
> Baumans writes:
> > This patch enables the ability to use pngs for the gtk client.
> > enough, the code to check if the system had libpng was longer (by about
> > times) than the code to actually enable its use. This is still
> > a hack. Next: PNG support for every other client.
> You cannot rely on being able to link against -lpng if png is
> supported. AFAIK we don't need to add -lpng because gdk_imlib handles
> it. Just add the png format in client/gui-gtk/graphics.c should be
> enough. (And perhaps runtime checks).
I wasn't really sure about that, as I haven't seen too many examples of
imlib code. I don't see many tutorials about imlib.
http://www.cae.wisc.edu/manuals/free/imlib/ shows in its example to
> Andreas Kemnade