Page MenuHomeWildfire Games

Correct button hovering following rP23020 / D2325, clarify difference between IsMouseOver and IsMouseHovering following rP74
ClosedPublic

Authored by elexis on Oct 5 2019, 11:46 AM.

Details

Summary

In rP23020 / D2325 I chose IsMouseOver instead of IsMouseHovering, because that had a public getter and because they appeared to be equivalent.
But when we open the ingame chat dropdown and hover a button, we see the difference, see https://code.wildfiregames.com/D2325#98443.
Hence clarify the comments and pick the right function.
Also removes a comment about nonexisting member from rP128.

Test Plan

Notice that the commit didnt change other behavior and that this function / or call to it wasnt changed elsewhere (either by memory or downloading and grepping all commits from a24).
Open the ingame chat dropdown and hover the buttons beneath the list.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

elexis created this revision.Oct 5 2019, 11:46 AM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/919/display/redirect

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/404/display/redirect

Related: CGUI::FindObjectUnderMouse, IGUIObject::ChooseMouseOverAndClosest, but Im totally not touching those now.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 5 2019, 11:58 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.