[OpenSmalltalk/opensmalltalk-vm] Win generate mouse wheel events (#461)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] Win generate mouse wheel events (#461)

David T Lewis
 

This let windows VM generate mouse wheel events if asked to do so
OSX and linux already do that.


You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461

Commit Summary

  • Nuke NO_WHEEL_MOUSE macro and alternate g_WM_MOUSEWHEEL message
  • Move WM_MOUSEWHEEL message handling as a regular case
  • Use GET_X_LPARAM to decode mouse coordinates from WM_MOUSE messages
  • Implement mousewheel events if sendWheelEvents is true (non zero)
  • Deliver mouse wheel events only once they reach a threshold

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461?email_source=notifications\u0026email_token=AIJPEWZ5HIFDP2DJA26WTLTQ2UKC7A5CNFSM4J7P52HKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICYOGIQ", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461?email_source=notifications\u0026email_token=AIJPEWZ5HIFDP2DJA26WTLTQ2UKC7A5CNFSM4J7P52HKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICYOGIQ", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Win generate mouse wheel events (#461)

David T Lewis
 

Merged #461 into Cog.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461?email_source=notifications\u0026email_token=AIJPEW4RTQZVRAVAOBAN3ULQ2YXZBA5CNFSM4J7P52HKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVWBQRCA#event-2911045768", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461?email_source=notifications\u0026email_token=AIJPEW4RTQZVRAVAOBAN3ULQ2YXZBA5CNFSM4J7P52HKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVWBQRCA#event-2911045768", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>