I checked this and I see that there is an error with:
HandMorph>>#generateKeyboardEvent:
in this piece of code:
(type = #keystroke and: [(buttons anyMask: 16)
and: [*charCode *= 30 or: [*charCode *= 31]]])
ifTrue: [^MouseWheelEvent new
setType: #mouseWheel
position: lastMouseEvent cursorPoint
direction: (charCode = 30 ifTrue: [#up] ifFalse: [#down])
buttons: buttons
hand: self
stamp: stamp].
The value for *charCode* is 0, that is the reason why MouseWheelEvent does
not work in Roassal2 in Windows.
Instead of MouseWheelEvent the KeyboardEvent is used.
*Note:* *keyvalue* has the value 31.
Maybe there is and error with Sensor class in Windows
Cheers,
Milton
2014-10-26 8:22 GMT-03:00 Alexandre Bergel <alexandre.bergel(a)me.com>om>:
We will have a look at it. This is important indeed.
Alexandre
Le 25-10-2014 à 20:48, "Jan B."
<bliznjan(a)fit.cvut.cz> a écrit :
Hello
RTZoomableView should enable zooming with mouse wheel. It works fine on
Linux, not tested on Mac, but doesn't work for me on Windows (mouse wheel
does nothing). For example, this one:
RTRoassalExample new exampleScrollZoom
Jan
--
View this message in context:
http://forum.world.st/Roassal2-RTZoomableView-not-working-on-Windows-tp4786…
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev