Hi Astan,

> I recently modified my NavCanvas to support zooming in and out using the 
> mouse scroll.

It already does that -- what version did you test against?

> I've attached the version hoping it will be useful or if 
> NavCanvas feels like it would want this feature added.

Hmm. Form your code, it looks like it'll shift into ZoomIn mode whenever 
the wheel is moved. I don't think that's what I'd want as standard behavior.

Right now, the wheel zooms in and out if you are in any of:

ZoomIn
ZoomOut
Move

modes.

It moves the image up and down in "Mouse" mode, which is a bit peculiar, 
I agree - I suppose I should make it zoom in and out there too.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to