Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: A rouge client from the trenches
Home

[Freeciv-Dev] Re: A rouge client from the trenches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Arnstein Lindgard <arnstein.lindgard@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: A rouge client from the trenches
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Jul 2002 16:00:10 -0500

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


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