[GRASS-dev] New installation for wxPython GUI

Michael Barton michael.barton at asu.edu
Thu Aug 10 19:19:11 EDT 2006


I think that is a great idea. I'm trying to do that with the window resizing
too. Look at the onSize method. The only problem is that is doesn't work
now. It worked awhile ago, but not any more and I can't figure out why it
quit working. Maybe you can see something I can't.

Maybe buffering will do it..

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Jachym Cepicky <jachym.cepicky at centrum.cz>
> Date: Thu, 10 Aug 2006 23:30:47 +0200
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Grass Developers List <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] New installation for wxPython GUI
> 
> hi
> On Thu, Aug 10, 2006 at 01:42:39PM -0700, Michael Barton wrote:
>> Finally, I changed the zoom factor for wheel zooming
>> to make it a bit smoother. I can make it even smoother yet (and slower, of
>> course) if you think that is better.
> 
> I was thinking about, to do the mouse wheel zoom like follows:
> 
>  the mouseActions would observe, when it was last times zoomed, and if
>  the time period would be smaller, than some interval, than d.rast/vect
>  would *not* be called, only the pixmap would be resized.
> 
>  if the time period would be "big enough", than new pixmap would be
>     rendered
> 
> currently everytime you change zoom scale, new map is renderd, which
> does need to be fast enough, if you are zooming over big scales.
> 
> what do you thing about it?
> 
> 
> jachym
> 
> -- 
> Jachym Cepicky
> e-mail: jachym.cepicky at centrum.cz
> URL: http://les-ejk.cz
> GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
> -----------------------------------------
> OFFICE:          
> GDF-Hannover
> Mengendamm 16d
> 30177 Hannover
> Germany
> e-mail: cepicky at gdf-hannover.de
> URL:    http://gdf-hannover.de
> Tel.:   +49 511-39088507




More information about the grass-dev mailing list