Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] PATCH: Allowing PNGs under GTK
Home

[Freeciv-Dev] PATCH: Allowing PNGs under GTK

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Baumans" <baumans@xxxxxxxxxxxxx>
Cc: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] PATCH: Allowing PNGs under GTK
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Tue, 13 Mar 2001 19:45:00 +0100 (CET)

Baumans writes:
 > This patch enables the ability to use pngs for the gtk client. Amazingly
 > enough, the code to check if the system had libpng was longer (by about 9
 > times) than the code to actually enable its use.  This is still somewhat of
 > 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).

Greetings
Andreas Kemnade



[Prev in Thread] Current Thread [Next in Thread]