[GRASS-dev] wx display monitors starting at 0

Hi,

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?

Hamish

Hi,

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), 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 *