Mercurial > dwindows
view dwconfig.h.in @ 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 | 07f1366a724c |
children | 83c17a84bc27 |
line wrap: on
line source
/* dwconfig.h.in. Generated automatically from configure.in by autoheader. */ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if you have the connect function. */ #undef HAVE_CONNECT /* Define if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H /* Define if you have the <ndir.h> header file. */ #undef HAVE_NDIR_H /* Define if you have the <sys/dir.h> header file. */ #undef HAVE_SYS_DIR_H /* Define if you have the <sys/ndir.h> header file. */ #undef HAVE_SYS_NDIR_H /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Define if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H /* Determine whether we have the pipe function */ #undef HAVE_PIPE /* Determine whether we have the vsnprintf function */ #undef HAVE_VSNPRINTF /* Define if WebKit is available */ #undef USE_WEBKIT /* Define if webkit-1.0 is available */ #undef USE_WEBKIT10 /* Define if webkit-1.1 is available */ #undef USE_WEBKIT11 /* Define if webkit2 is available */ #undef USE_WEBKIT2 /* Define if IMLIB is available. */ #undef USE_IMLIB /* Define if PIXBUF is available. */ #undef USE_PIXBUF /* Define if USING GTK (but not on X11). */ #undef DW_USE_GTK /* Define if we have Ubuntu overlay scrollbars */ #undef HAVE_OVERLAY_SCROLLBARS /* Define if we have Ubuntu overlay scrollbars (GTK2) */ #undef HAVE_OVERLAY_SCROLLBARS2