Mercurial > dwindows
view os2/dwcompat.lnk @ 2618:156ad91481eb
WARNING: Standardize button press and release button parameter values.
This may break existing code using 3rd mouse button press/release events.
The motion callback and OS/2 had been passing the 3rd mouse button as value 4.
Other platforms were passing it as value 3. Since button/press and release
events only have a single button values 1,2,3 were unique... but OS/2 was
passing the mask value instead, making these not work cross platform.
I decided to make the button press/release and motion events all function the
same. Passing the mask values instead of button numbers. This change will
only affect button 3 on button press or release events on Windows, Mac and GTK.
OS/2 already functioned this way, iOS and Android do not support button 3.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 23 Jul 2021 20:26:56 +0000 |
parents | fbaec6e5df63 |
children |
line wrap: on
line source
option DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2' segment type DATA NONSHARED LOADONCALL export makedir.20 export vargs.21 export setfileinfo.22 export drivefree.23 export isdrive.24 export drivesize.25 export getfsname.26 export _opendir.30 export _openxdir.31 export _readdir.32 export _seekdir.33 export _telldir.34 export _closedir.35 export fsopen.40 export fsclose.41 export fsgets.42 export fsseek.43 export locale_init.50 export locale_string.51 export nice_strformat.60 export initdir.61