Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Native Coordinates [Was:[PATCH] Map cleanups (PR#1208
Home

[Freeciv-Dev] Re: Native Coordinates [Was:[PATCH] Map cleanups (PR#1208

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Chris Richards <chrisr@xxxxxxxxxxxxxxxx>
Cc: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>, jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Native Coordinates [Was:[PATCH] Map cleanups (PR#1208)
From: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Date: Wed, 09 Jan 2002 20:30:16 -0500

Scrollbars are connected more closely to the overview map (the little 
one to the side) rather than the actual large scale map in the current 
code. They set the origin point on the overview from which the bounds
of the canvas spread out in appropriate standard or isometric directions.

Or to put it differently, they and the overview are using standard 
coordinates, while the canvas is using isometric, hence the disconnect
in this case.

In the corecleanups, the overview is handled in native coordinates, so
a true isometric map will scroll normally, but a trident view will be
the one to drive you nuts :-).

This clearly is one of the things to improve on, either attach them to
the right window, or change their coordinates to reflect the view they
are attached to. It is coming ...

At 10:05 PM 02/01/08 -0600, Chris Richards wrote:
>Is it the native coordinates that cause clients to scroll in an
>unintuitive manner?  Or is it by design (ack!)?  Take for instance the
>isometric view of the default gtk client.  The scroll bars move the
>map on the diagonals as opposed to the north-south and east-west axis
>as one would expect.
>
>cjr

Cheers,
RossW
=====




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