Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8210) WISHLIST: a sliding mapview
Home

[Freeciv-Dev] Re: (PR#8210) WISHLIST: a sliding mapview

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8210) WISHLIST: a sliding mapview
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 May 2004 09:10:52 -0700
Reply-to: rt@xxxxxxxxxxx

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

andrearo@xxxxxxxxxxxx wrote:
> The white rectangle on the minimap flickers a lot while sliding the mapview.

Oh, and this occurrs because the overview suffers from off-by-one 
errors, particularly with iso-maps.  Normally this isn't any kind of 
problem.  However when the mapview slides you can see the overview 
zig-zagging along with it.

> It would be nice to be able to slide the mapview by holding a mousebutton
> and moving the mouse in the direction I want to scroll. Most games with
> this feature use the right mouse button for to scroll, but in Freeciv this
> is already taken by city selection. Perhaps use the left mouse button, or
> make it configurable.

gui-fs has a feature (I'm told) where you click-and-drag to scroll the 
mapview.  I haven't tested it.  Support for this should probably be 
moved into the common code (via a new HOVER_STATE) and added to all GUIs.

Another alternative is that when the mouse approaches the edge of the 
mapview you begin scrolling in that direction.  However this only makes 
sense if everything is contained within the mapview...which is the case 
with gui-sdl in fullscreen mode, but generally not with the other GUIs.

jason




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