Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Re: (PR#8262) Map redraw
Home

[Freeciv-Dev] Re: (PR#8262) Map redraw

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8262) Map redraw
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Mon, 22 Mar 2004 22:31:23 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8262 >

On Mon, Mar 22, 2004 at 02:09:37PM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8262 >
> 
> Christian Knoke wrote:
> 
> >>The main map part of the civclient window doesn't get redrawn, when I switch
> >>forth and back to another window. A right click into the map, or a size
> >>change of the window, restores it then.
> 
> The return value of map_resized is always TRUE.

In my last version (unify_mapview3.diff) it could also be FALSE.

> I didn't know anyone actually used it, and it was undocumented.

A lame excuse.

> I think this is the correct way to handle it.  map_resized shouldn't 
> return a value, unless we can define exactly what that value means.

"Return TRUE iff the size (in tiles) changes."

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Any sufficiently advanced technology is indistinguishable from magic."
    -- Arthur C. Clarke




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