Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7123) mouse control
Home

[Freeciv-Dev] Re: (PR#7123) mouse control

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7123) mouse control
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sat, 17 Jan 2004 06:36:13 -0800
Reply-to: rt@xxxxxxxxxxx

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


I want to present what the mouse actions should/will be for the FS
client. First let us take a look at the gtk client:

mapview:
 - left click: popup city, select unit, popup unit stack
 - left drag: nothing
 - middle click: popup tile info
 - right click: center view, deselect cities
 - right drag: select cities

overview:
 - left: nothing
 - right click: center view
 - right drag: nothing

dialogs:
 - left click: normal GTK operation
 - right click: nothing

I want to change this to:
general:
 - right click: popup help info (more on this later)
 - Escape closes popup/switches to mapview screen

mapview:
 - left click: select tile
 - left double click: popup city
 - left drag: select cities (units with some modifier key)
 - right drag: move view

overview:
 - left: nothing
 - right drag: move view

other:
 - left click: normal like operation (press buttons, move sliders,...)

There are two concepts here which are different from the current
clients.

A tile can be selected and so can a city be selected. Selecting a tile
will update the object list of the tile. The object list contains at
the top position a city if there is any at this tile. After the city
all units of the tile are part of object list. One of the objects of
the object lists is selected (similar to the focus unit of the current
clients) and this is shown in the object list display. You can see
this at this
http://www.mobygames.com/images/shots/original/937442674-00.jpg and
also at
http://www.freeciv.org/~rfalke/fs3_pics/chatline/screen-0093.png.

On basis of this other things can be implemented. For example a
certain shortcut (SE4 uses 'q') brings the player to the building
queue for the currently selected city.

The second is about showing information, data and help. In MOM, MOO2
and SE4 you get a popup explaining the item you just right clicked. I
can't find a screenshot for SE4 showing this though.

I want to adapt this for the FS client in such a way that you get a
tooltip for almost every object at the display containing the
information about the instance. If you right-click you get information
about the class. For those not familiar with OO-terms this would means
that for a unit the tooltip may show:

  Explorer
  Roman
  1 move(s)
  Veteran

While the help popup will all data about the unit type Explorer like:

  Cost: 30
  Attack: 0
  Defense: 1
  ...
  Vision: 1
  Special features:
    Ignores terrain effects (treats all squares as roads).
    Ignores zones of control.
    A non-military unit (cannot attack; no martial law).
  Description:
    Explorers are very useful for mapping unknown territory.

You won't be able to browse in the help popup. So this is not a
replace for the help system but an addition. The help popup will only
have a close button.

        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]