Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
Re: [Freeciv-Dev] patch: makes city dialog units scrollable (PR#79)
Home

Re: [Freeciv-Dev] patch: makes city dialog units scrollable (PR#79)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: makes city dialog units scrollable (PR#79)
From: vasc@xxxxxxxxxxxxxxxxxxxxx
Date: Fri, 30 Jul 1999 04:09:06 -0700 (PDT)

On Thu, 29 Jul 1999, P.E.Jean wrote:

> pejean.lists@xxxxxxxxx wrote:
> > Currently, in the city dialog, only 12 supported units
> > and 12 present units can be shown.
> > 
> > This patch allows the player to see more of them and
> > adds a scroll bar under the supported units list and/or
> > the present units list when there isn't enough place to
> > show them all.
> 
> Since I posted this patch a few hours ago, many things
> changed in cvs and it no longer works.

Oops, sorry i changed the code in cvs yet again... :-(

> So I modified it to match what changed.
> 
> It applies to the gtk client of the latest source
> from cvs (July 29 1999).

The changes should be fairly minimal, they mostly involve changing the
parts of your code which use things like:

"gtk_pixcomm_clear(pixcomm)" to "gtk_pixcomm_clear(pixcomm, bool)"

- The bool field should be set to TRUE if you want the pixcomm clear to
cause an immediate refresh and to FALSE otherwise.



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