On Mar 14, 2008, at 4:40 AM, [EMAIL PROTECTED] wrote:

Date: Fri, 14 Mar 2008 10:48:35 +0100
From: "Martin Landa" <[EMAIL PROTECTED]>
Subject: Re: [GRASS-dev] wx display monitors starting at 0
To: Hamish <[EMAIL PROTECTED]>
Cc: grass5 <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

2008/3/10, Hamish <[EMAIL PROTECTED]>:
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


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to