[Freeciv-Dev] Re: A rouge client from the trenches
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Jul 22, 2002 at 10:23:46PM +0200, Arnstein Lindgard wrote:
> On Sun, 21 Jul 2002 15:13:14 +0000 (GMT)
> "Per I. Mathisen" <per@xxxxxxxxxxx> wrote:
>
> Rather than removing keys for those who know what they are doing,
> I'm thinking it'd be useful with some mouse shift-click-and-drag operation,
> if gtk allows, to select a rectangular area, then perform operations on
> all units (or cities) within that. You could have more than one way of
> selecting.
If you take a look at the civworld code (specifically in
civworld/toolfunc.c), you'll find the kind of code that you need.
The line (bounding box) drawing is gtk specific but the actual map
operations are client-independent.
-mike
|
|