Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: 405a59420918f903352c4a51be6822eb60d4066b
https://github.com/Warzone2100/warzone2100/commit/405a59420918f903352c4a51be6822eb60d4066b
Author: past-due <[email protected]>
Date: 2019-03-17 (Sun, 17 Mar 2019)
Changed paths:
M lib/widget/widgbase.h
M lib/widget/widget.cpp
M lib/widget/widget.h
Log Message:
-----------
Widget: Add custom hit-testing support
Commit: 9394cd5f6c5c1de666d34d56cc32a0d4dfbc83e9
https://github.com/Warzone2100/warzone2100/commit/9394cd5f6c5c1de666d34d56cc32a0d4dfbc83e9
Author: past-due <[email protected]>
Date: 2019-03-17 (Sun, 17 Mar 2019)
Changed paths:
M src/hci.cpp
Log Message:
-----------
Improve reticule button hit-testing
The hit-testing for the reticule buttons has not been ideal, but it worsened
after commit cb1252cd7 (and the attempt to fix the visual coordinates in commit
6731c4ca5). The hit-test boxes were wrong, and it made the buttons much harder
to click.
This implements custom hit-testing behavior based on the image dimensions (and
a bounding ellipse based on those dimensions that much more accurately reflects
the actual shape of the button images).
Compare:
https://github.com/Warzone2100/warzone2100/compare/6731c4ca5f11...9394cd5f6c5c
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits