Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2484) Xaw client colour allocation patch
Home

[Freeciv-Dev] (PR#2484) Xaw client colour allocation patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: vasc@xxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2484) Xaw client colour allocation patch
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 13 Dec 2002 01:00:01 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[vasc@xxxxxxxxxxxxxx - Tue Dec  3 23:17:32 2002]:

> This patch moves some colour allocation code used for PNG loading in
> graphics.c to colors.c. It also replaces the old colour allocation code.
> As a bonus this code should allow the Xaw client to run on grayscale and
> monochrome displays. This will require removing get_visual().
> It should also now startup on 16 colour displays.
> One thing it does differently is it no longer tries to use a private
> colormap on pseudo-color displays when it runs out of entries in the
> colormap. But I always found that very annoying.

This patch works fine for me.  It would be nice to test it on a
low-color-depth machine, but I can't do this.  Can anyone do so?

jason



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