[Freeciv-Dev] Re: (PR#3966) add action_button_pressed function to mapctr
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients:; |
Subject: |
[Freeciv-Dev] Re: (PR#3966) add action_button_pressed function to mapctrl_common |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Thu, 10 Apr 2003 00:46:00 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
ChrisK@xxxxxxxx wrote:
> On Wed, Apr 09, 2003 at 02:20:20PM -0700, Jason Short wrote:
>
>>The advantage of adding this function is that it allows the logic of the
>>GUI code to be simplified. It is safer to call this function than to
>>have each GUI do the handling independently. It can also potentially
>>give a more consistent interface.
>
>
> Does this allow to make the cursor keys work? Recently, I noticed, that you
> can scroll the map with it, but at least in trident mode it doesn't work
> well.
No, this is just a cleanup - it won't change any behavior.
The cursor keys will scroll the mapview, but as you point out, they
don't work perfectly. In non-iso view this is because of some very
long-standing (and hard to fix) bugs in the mapview code; in iso view
it's because the system doesn't work well when aligned to a tile (it
could be easily fixed by aligning the mapview to a pixel).
jason
|
|