[GRASS-dev] Re: grass-dev Digest, Vol 23, Issue 60
Michael Barton
michael.barton at asu.edu
Fri Mar 14 12:17:22 EDT 2008
On Mar 14, 2008, at 4:40 AM, grass-dev-request at lists.osgeo.org wrote:
> Date: Fri, 14 Mar 2008 10:48:35 +0100
> From: "Martin Landa" <landa.martin at gmail.com>
> Subject: Re: [GRASS-dev] wx display monitors starting at 0
> To: Hamish <hamish_b at yahoo.com>
> Cc: grass5 <grass-dev at lists.osgeo.org>
> Message-ID:
> <f8fe65c40803140248k147d94c7r97f030b921dade8e at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> 2008/3/10, Hamish <hamish_b at yahoo.com>:
>> I notice in the wx screenshots that the display monitors start
>> counting at 0 not 1. This is all good and well for C & Python
>> programmers, but for the average user it's a bit unexpected.
>>
>> range(1, max+1)
>>
>>
>> thoughts?
>
> seems to be inspired by naming of X-based GRASS monitors (x0, ...).
> For now I switched to range(1, max+1), see
>
> http://trac.osgeo.org/grass/changeset/30559
>
> What do you think? Should be clear before we release 6.3.0 (hoping
> that soon:-)
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/
> ~landa *
Personally I like display numbers starting with 1. I started with 0
because it was familiar to many GRASS users. It's not a big issue and
can be changed pretty easily at any time (I think).
Michael
More information about the grass-dev
mailing list