[GRASS5] v.digit problems
grass5 at geog.uni-hannover.de
Thu, 22 Feb 2001 16:36:48 -0400
Content-type: text/plain; charset="us-ascii"
Markus Neteler wrote:
> yes, that's a result due to the new pan method (Huidae will know more).
> On fast machines (or accelerated video cards), you are not aware of
> this. However, on a slower machine it might become annoying. I guess
> it can be switched of with an env variable (flag).
> All GRASS variables are listed in
> (thanks to Justin). We should add explanations to the list and eliminate
> the unused vars there.
> The file with above definition of the menu flicker is here (I think so):
> and/or: window.c
> I suggest to make the auto-pan method optional in a v.digit menu and/or
> to be set with GRASS_AUTO_PAN=0/1
The environment variables seem to have no affect on the "flashing menus". I took a
look in the code and the cuplrit seems to be the "_Clear_base ()" call inside a while
loop. In digitize.c on line 240 ...
"while(yes_no = mouse_yes_no_zoom ( ....)' the mouse_yes_no_zoom function uses the
_Clear_base() routine which I believe clears the screen until mouse input is received.
If I remove the _Clear_base () from the mouse_yes_no_zoom function in mouse_yn.c and
place it outside the while loop in digitize.c the problem is cleared up. It would
appear that the function is continually clearing the window when inside the while
loop. There are a couple of other locations where where this Clearing is an issue.
If you want I forward the modified files with the problem corrected to see if it
functions correctly in other environments.
P.O. Box 2016 Fall River, N.S.
Content-type: text/x-vcard; charset="us-ascii"; name="bcovill.vcf"
Content-Description: Card for Bob Covill
adr:;;P.O. Box 2016;Fall River;Nova Scotia;B2T 1K6;Canada