Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem
Home

[Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 26 Nov 2002 01:55:43 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Nov 26, 2002 at 01:11:26AM -0800, Jason Short via RT wrote:
> 
> [rfalke - Mon Nov 25 22:03:59 2002]:
> 
> > Start with trident. Switch to isotrident. Refresh.
> 
> Fix attached.

> +  /* We have to force a redraw of the units.  And we explicitly have
> +   * to force a redraw of the focus unit, which is normally only
> +   * redrawn when the focus changes. We also have to force the 'more'

> +   * arrow to go away, both by expicitly hiding it and telling it to

explicitly

>  void tileset_changed(void)
>  {
>    reset_city_dialogs();
> +  reset_unit_table();
>  }

reset is IMHO a bit too generic for these functions. But this only minor.

Have you audited the other issues (grep TILE_WIDTH client/gui-gtk/*.c)?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 BSD: Are you guys coming or what?



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