[Gambas-Notification] [Git][gambas/gambas][master] Fix Mouse.Button and Mouse.State, especially for mouses having more than 3 buttons.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Thu Jun 10 02:12:35 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
8a191771 by gambas at 2021-06-10T02:10:09+02:00
Fix Mouse.Button and Mouse.State, especially for mouses having more than 3 buttons.

[GB.GTK]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.
* BUG: Mouse.State returns the same thing as with Qt components, except that apparently GTK+ cannot tell if button 4 and 5 are pressed all the time.

[GB.GTK3]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.
* BUG: Mouse.State returns the same thing as with Qt components, except that apparently GTK+ cannot tell if button 4 and 5 are pressed all the time.

[GB.QT4]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.

[GB.QT5]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.

- - - - -


4 changed files:

- gb.gtk/src/CMouse.cpp
- gb.gtk/src/gmouse.cpp
- gb.qt4/share/gb.form.const.h
- gb.qt4/src/CMouse.cpp


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/8a191771ecb12a4ee6dd3d3fc3afa7adc3e6a64e

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/8a191771ecb12a4ee6dd3d3fc3afa7adc3e6a64e
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210610/9bd8b3a6/attachment.htm>


More information about the Notification mailing list