virtualx-engine/scene/gui
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
..
aspect_ratio_container.cpp
aspect_ratio_container.h
base_button.cpp Fix ButtonGroup unpressing 2023-06-16 00:15:37 +02:00
base_button.h Add option for ButtonGroups to be unpressed 2023-04-20 17:09:39 -06:00
box_container.cpp
box_container.h
button.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
button.h Make TextureButton and Button update on texture change 2023-05-29 16:40:56 +02:00
center_container.cpp
center_container.h
check_box.cpp
check_box.h
check_button.cpp
check_button.h
code_edit.cpp Merge pull request #73196 from Vilcrow/fix-lookup-symbol 2023-07-24 19:32:12 +02:00
code_edit.h Merge pull request #73196 from Vilcrow/fix-lookup-symbol 2023-07-24 19:32:12 +02:00
color_mode.cpp Merge pull request #79037 from dinoplane/move-cached-values 2023-07-12 21:02:47 +02:00
color_mode.h Moved HSV and OKHSL caching logic into color_mode 2023-07-05 07:15:58 -07:00
color_picker.cpp Remove spaces from input of HTML color in color picker 2023-07-22 12:11:28 +02:00
color_picker.h Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
color_rect.cpp
color_rect.h
container.cpp Merge pull request #78009 from YuriSizov/gui-gently-massage-minimal-size 2023-06-12 14:14:20 +02:00
container.h
control.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
control.h Expose Control::_get_drag_data() as non-const function 2023-05-24 06:09:45 +09:00
dialogs.cpp Hide/show AcceptDialog's button spacer on button visibility changed 2023-07-11 12:18:46 +02:00
dialogs.h Hide/show AcceptDialog's button spacer on button visibility changed 2023-07-11 12:18:46 +02:00
file_dialog.cpp [Windows] Implement native file selection dialog support. 2023-07-18 17:23:58 +03:00
file_dialog.h [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
flow_container.cpp
flow_container.h
graph_edit.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_edit.h Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_edit_arranger.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_edit_arranger.h Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_node.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_node.h Remove GraphNode's comment property and related functionality 2023-07-11 02:05:25 +02:00
grid_container.cpp
grid_container.h
item_list.cpp Code simplifications 2023-06-21 22:37:26 +02:00
item_list.h Add get_item_rect function to ItemList 2023-05-11 19:01:54 +02:00
label.cpp [Label] Remove extra line spacing from Label minimum size calculations. 2023-07-26 08:15:53 +03:00
label.h [Label] Add support for tab stops. 2023-06-09 12:59:37 +03:00
line_edit.cpp Preserve selection when focusing SpinBox 2023-06-10 21:29:24 +02:00
line_edit.h Preserve selection when focusing SpinBox 2023-06-10 21:29:24 +02:00
link_button.cpp
link_button.h
margin_container.cpp
margin_container.h
menu_bar.cpp Code simplifications 2023-06-21 22:37:26 +02:00
menu_bar.h
menu_button.cpp Fix position and size of MenuButton popup 2023-06-15 15:29:50 +02:00
menu_button.h
nine_patch_rect.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
nine_patch_rect.h Make NinePatchRect listen to texture changes 2023-06-20 08:40:35 +02:00
option_button.cpp Update OptionButton min size when disabling Fit to Longest Item 2023-07-15 11:10:23 +08:00
option_button.h Update size or size cache when toggling expand_icon in Button 2023-05-17 06:06:25 +08:00
panel.cpp
panel.h
panel_container.cpp
panel_container.h
popup.cpp Fix auto-reparenting logic in the ProgressDialog 2023-05-29 17:02:16 +02:00
popup.h
popup_menu.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
popup_menu.h [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
progress_bar.cpp
progress_bar.h
range.cpp Use NULL instead of COND checks when appropriate 2023-06-10 08:56:30 +02:00
range.h Merge pull request #70834 from pattlebass/spinbox-doesnt-spin 2023-04-12 17:01:11 +02:00
reference_rect.cpp
reference_rect.h
rich_text_effect.cpp
rich_text_effect.h
rich_text_label.cpp Merge pull request #76759 from Nidjo123/master 2023-07-21 17:54:11 +02:00
rich_text_label.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
scroll_bar.cpp
scroll_bar.h
scroll_container.cpp Expose horizontal/vertical custom_step as editor property for the ScrollContainer 2023-04-29 23:56:59 +02:00
scroll_container.h Expose horizontal/vertical custom_step as editor property for the ScrollContainer 2023-04-29 23:56:59 +02:00
SCsub
separator.cpp
separator.h
slider.cpp Fix disabled slider highlighting 2023-07-08 00:42:57 +03:00
slider.h Merge pull request #63168 from Levrault/master 2023-06-05 18:04:39 +02:00
spin_box.cpp Preserve selection when focusing SpinBox 2023-06-10 21:29:24 +02:00
spin_box.h Merge pull request #70834 from pattlebass/spinbox-doesnt-spin 2023-04-12 17:01:11 +02:00
split_container.cpp
split_container.h
subviewport_container.cpp Refactor mouse_entered and mouse_exited notifications 2023-08-01 13:28:49 +02:00
subviewport_container.h Make SubViewportContainer event propagation aware of focused Control 2023-07-17 22:38:35 +02:00
tab_bar.cpp Fix delay on tab resizing when (un)hovering tabs 2023-06-27 20:33:13 -03:00
tab_bar.h Merge pull request #74632 from davthedev/tabs-hover 2023-04-24 16:42:38 +02:00
tab_container.cpp Use NULL instead of COND checks when appropriate 2023-06-10 08:56:30 +02:00
tab_container.h Merge pull request #76374 from OverloadedOrama/more-tab-container-signals 2023-04-24 16:48:01 +02:00
text_edit.cpp [TextEdit] Expose all auto-wrap modes. 2023-06-13 10:28:27 +03:00
text_edit.h [TextEdit] Expose all auto-wrap modes. 2023-06-13 10:28:27 +03:00
texture_button.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_button.h Make TextureButton and Button update on texture change 2023-05-29 16:40:56 +02:00
texture_progress_bar.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_progress_bar.h TextureProgressBar Update upon texture changes 2023-04-01 00:16:43 +02:00
texture_rect.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_rect.h
tree.cpp Merge pull request #78393 from AThousandShips/tree_tooltip 2023-07-12 15:09:09 +02:00
tree.h Merge pull request #78393 from AThousandShips/tree_tooltip 2023-07-12 15:09:09 +02:00
video_stream_player.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
video_stream_player.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
view_panner.cpp Fix the issue preventing dragging in the 2D and visual shader editor 2023-03-19 12:36:36 -07:00
view_panner.h