On Mar 14, 2008, at 4:40 AM, grass-dev-request@lists.osgeo.org wrote:
Date: Fri, 14 Mar 2008 10:48:35 +0100
From: "Martin Landa" <landa.martin@gmail.com>
Subject: Re: [GRASS-dev] wx display monitors starting at 0
To: Hamish <hamish_b@yahoo.com>
Cc: grass5 <grass-dev@lists.osgeo.org>
Message-ID:
<f8fe65c40803140248k147d94c7r97f030b921dade8e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1Hi,
2008/3/10, Hamish <hamish_b@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), seeWhat 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