virtualx-engine/scene/gui
Ruslan Mustakov 710b57d493 Make BaseButton not emit press when container is scrolled
This fixes the problem described in #13996 in a proper way.

This also adds "deadzone" property to ScrollContainer. It can be used
on mobile, where taps are not as precise as mouse clicks. Player could
slightly move their finger when tapping, in which case we still want
the button to be pressed rather than the container to be scrolled.

(cherry picked from commit dcf5be92a3)
2018-04-14 19:36:10 +02:00
..
base_button.cpp Make BaseButton not emit press when container is scrolled 2018-04-14 19:36:10 +02:00
base_button.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
box_container.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
button.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
center_container.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
center_container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
check_box.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
check_box.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
check_button.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
check_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_picker.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
color_picker.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_rect.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_rect.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
container.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
control.cpp Make BaseButton not emit press when container is scrolled 2018-04-14 19:36:10 +02:00
control.h Make BaseButton not emit press when container is scrolled 2018-04-14 19:36:10 +02:00
dialogs.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dialogs.h Fix typos with codespell 2018-02-22 12:17:06 +01:00
file_dialog.cpp Actually fix the db/dc renaming mess 2018-02-21 23:21:21 +01:00
file_dialog.h Actually fix the db/dc renaming mess 2018-02-21 23:21:21 +01:00
gradient_edit.cpp Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true 2018-03-28 22:01:19 +02:00
gradient_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
graph_edit.cpp Expose a few GraphEdit methods to script languages 2018-02-04 20:05:47 +01:00
graph_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
graph_node.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
graph_node.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
grid_container.cpp Fixes infinite loop in GridContainer 2018-03-29 00:41:03 +02:00
grid_container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
item_list.cpp Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-19 22:21:14 +01:00
item_list.h Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-19 22:21:14 +01:00
label.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
label.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
line_edit.cpp Fixed #15082: line edit emits two "text_changed" signals when pasting while text is selected 2018-02-19 22:13:46 +01:00
line_edit.h Fixed #15082: line edit emits two "text_changed" signals when pasting while text is selected 2018-02-19 22:13:46 +01:00
link_button.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
link_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
margin_container.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
margin_container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
menu_button.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
menu_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
nine_patch_rect.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
nine_patch_rect.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
option_button.cpp Fixes OptionButton selection index being reset to zero at instanciation 2018-02-19 22:29:36 +01:00
option_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
panel.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
panel.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
panel_container.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
panel_container.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
popup.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
popup.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
popup_menu.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
popup_menu.h Allow popup menu scrolling without mouse wheel 2018-01-06 16:21:27 +01:00
progress_bar.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
progress_bar.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
range.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
range.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
reference_rect.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
reference_rect.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rich_text_label.cpp Fix more regressions in RichTextLabel from PR 15711 2018-03-03 01:47:52 +01:00
rich_text_label.h Fixes wrong vertical font layout in RichTextLabel 2018-02-21 23:52:49 +01:00
scroll_bar.cpp Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification. 2018-01-12 08:29:24 -03:00
scroll_bar.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scroll_container.cpp Make BaseButton not emit press when container is scrolled 2018-04-14 19:36:10 +02:00
scroll_container.h Make BaseButton not emit press when container is scrolled 2018-04-14 19:36:10 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
separator.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
separator.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shortcut.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shortcut.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
slider.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
slider.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
spin_box.cpp SpinBoxes calculate correctly their width before first redraw. 2018-02-19 22:13:46 +01:00
spin_box.h SpinBoxes calculate correctly their width before first redraw. 2018-02-19 22:13:46 +01:00
split_container.cpp Fixes a bas resizing with SplitContainer 2018-02-19 22:13:44 +01:00
split_container.h Fixes a bas resizing with SplitContainer 2018-02-19 22:13:44 +01:00
tab_container.cpp Keep to show current script when closing all docs 2018-02-21 22:09:23 +01:00
tab_container.h Keep to show current script when closing all docs 2018-02-21 22:09:23 +01:00
tabs.cpp Fix various valgrind reported uninitialized variable uses 2018-03-01 21:06:31 +01:00
tabs.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
text_edit.cpp Fix quotation in string 2018-02-22 13:23:44 +01:00
text_edit.h TextEdit folding over unindented comments 2018-02-21 23:51:45 +01:00
texture_button.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_progress.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
texture_progress.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_rect.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_rect.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tool_button.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tool_button.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tree.cpp Fix various valgrind reported uninitialized variable uses 2018-03-01 21:06:31 +01:00
tree.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
video_player.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
video_player.h Fix Video Player issue with audio mix_rate when different than 44100 2018-01-07 12:57:48 -03:00
viewport_container.cpp ViewportContainer passes input down to children viewports 2018-01-15 00:36:57 +01:00
viewport_container.h ViewportContainer passes input down to children viewports 2018-01-15 00:36:57 +01:00