Hi,
Whops, I did not see the mouse wheel feature there. Seems like I've
added something already redundant but yet, I intended it to zoom
regardless of mode.
Anyway, is there a demo or example of putting scrollbars on the
NavCanvas (or any FloatCanvas)? I read your FAQ but it seemed like
someone might have done this already.
Thanks!
Astan
Christopher Barker wrote:
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
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas