summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
AgeCommit message (Collapse)Author
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-23Fix issue with disconnecting events when font changesJonas Bernemann
2019-12-16Prevent infinite loop when focus_next is invisibleTomasz Chabora
2019-10-22Fixed crashes when renaming a state in AnimationNodeStateMachineEditorPouleyKetchoupp
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list. It happens in the state machine case by hiding a line edit control when it loses focus. Fixes #23808
2019-10-05Fix crash in Control functionsqarmin
2019-09-30Altered rotation_degrees rangeSoumya Lahiri
2019-09-24Merge pull request #31935 from aole/Change-minimum-size-when-theme-changedRémi Verschelde
Change minimum size when theme changed
2019-09-20Load overrides if getting style from current classTomasz Chabora
2019-09-03Change minimum size when theme changedBhupendra Aole
Need to call minimum_size_changed on controls whenever the theme is changed. Fixes godotengine#29816
2019-09-03Added is_inside_tree() check in both Timer and Tweenshaderbeast
Tween now throws error and doesnt even execute.
2019-08-26Fix return type of Control::get_drag_data in API jsontoasteater
Control::get_drag_data is a virtual method that returns Variant, but have the Object type in its MethodInfo. This changes the MethodInfo of Control::get_drag_data
2019-08-22Increase control node's anchor precisionCameron Reikes
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-07-27Revert "Update Control margins when size is overridden by change to minsize"Rémi Verschelde
2019-07-25Merge pull request #30351 from bojidar-bg/30288-override-global-themeRémi Verschelde
Keep track of default theme and project custom default theme seperatelly
2019-07-09Improve the node configuration warning displayHugo Locurcio
- Refer to properties explicitly when possible - When multiple warnings are returned, always separate them by one blank line to make them easier to distinguish - Improve grammar and formatting
2019-07-05Keep track of default theme and project custom default theme seperatellyBojidar Marinov
Fixes #30288
2019-06-30Add a configuration warning when using Ignore mouse filter with tooltipHugo Locurcio
This closes #30144.
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-18Merge pull request #29489 from groud/fixes_nanRémi Verschelde
Fixes NaN errors with anchors mode
2019-06-12Cleanup some unecessary editor/ includes in scene/Rémi Verschelde
Part of #29730, handles false positives.
2019-06-04Fixes NaN errors with anchors modeGilles Roudière
2019-05-21Merge pull request #29040 from swarnimarun/fix_override_bugRémi Verschelde
Clear overrides on passing null
2019-05-21Clear overrides on passing nullSwarnim Arun
2019-05-20Merge pull request #28952 from jbuck3/update-marginsRémi Verschelde
Update Control margins when size is overridden by change to minsize
2019-05-16Update Control margins when size is overridden by change to minsizeJames Buck
2019-05-13Improve the anchors and margin workflowGilles Roudiere
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-03-19Fix inspector update after changing anchor via buttonsqarmin
2019-03-01Fixed wrong method binding in controlJustin Vesper
Control.get_parent_area_size() is now bound to Control::get_parent_area_size() instead of Control::get_size()
2019-02-25Update controls when a stylebox or icon override changes; change to ↵Bojidar Marinov
CONNECT_REFERENCE_COUNTED Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED. Fixes #25904.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-18Add settings for single-quotes on completionMateus Felipe C. C. Pinto
2018-12-07Merge pull request #22431 from DualMatrix/pivotRémi Verschelde
Fixed pivot tool not setting position of Controls correctly
2018-11-14Always use default theme for overrides, closes #13071Juan Linietsky
2018-11-14Show theme values from default theme always, fixes #16011, fixes #13071Juan Linietsky
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-10-11Merge pull request #22844 from samgreen/fix_gui_dragging_spamRémi Verschelde
Fix spam when dragging in the editor
2018-10-08Swap condition to prevent spam in editor.Sam Green
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-04fix enum cast warnings on clangkarroffel
2018-09-25Tweak some editor texts' capitalization, use "Go to" instead of "Goto"Hugo Locurcio
This also fixes a typo in the `debugger/debug_with_external_editor` shortcut.
2018-09-25Fixed pivot tool not setting position of Controls correctlyDualMatrix
Fixed pivot tool not setting position of Controls correctly
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-06Show a warning if you try to grab focus when not allowed, closes #15388Juan Linietsky
2018-09-01Change some instances of args named "ev" to "event"Michael Alexsander Silva Dias
2018-08-24Avoid misuse of set_drag_preview() function where it shouldn't be. Closes #20100Juan Linietsky