godot/scene
Markus Sauermann 1c3c17c608 Refactor mouse_entered and mouse_exited notifications
The previous implementation for signals mouse_entered and mouse_exited
had shortcomings that relate to focused windows and pressed mouse buttons.
For example a Control can be hovered by mouse, even if it is occluded by
an embedded window.

This patch changes the behavior, so that Control and Viewport send
their mouse-enter/exit-notifications based solely on mouse position,
visible area, and input restrictions and not on which window has
focus or which mouse buttons are pressed. This implicitly also
changes when the mouse_entered and mouse_exited signals are sent.

This functionality can not be implemented as a part of
Viewport::_gui_input_event, because of its interplay with Windows and
because Viewport::_gui_input_event is based on input and not on
visibility.
2023-08-01 13:28:49 +02:00
..
2d Properly clear scene tiles 2023-07-27 01:31:20 +02:00
3d Add NavigationServer API to enable regions and links 2023-07-26 01:20:15 +02:00
animation Improve and clarify paused Tweens 2023-07-25 13:29:30 +02:00
audio Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scale 2023-02-17 14:06:55 +01:00
debugger Fix arg count checks in SceneDebugger 2023-07-19 18:13:15 +02:00
gui Refactor mouse_entered and mouse_exited notifications 2023-08-01 13:28:49 +02:00
main Refactor mouse_entered and mouse_exited notifications 2023-08-01 13:28:49 +02:00
resources Merge pull request #79288 from BastiaanOlij/custom_texture_api 2023-07-26 18:40:01 +02:00
theme Merge pull request #68429 from KoBeWi/PropertySettings 2023-01-06 22:59:29 +01:00
property_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
property_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_scene_types.cpp Merge pull request #79288 from BastiaanOlij/custom_texture_api 2023-07-26 18:40:01 +02:00
register_scene_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.cpp Merge pull request #76853 from HolonProduction/emission_finished 2023-07-14 18:50:51 +02:00
scene_string_names.h Merge pull request #76853 from HolonProduction/emission_finished 2023-07-14 18:50:51 +02:00
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00