summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
AgeCommit message (Collapse)Author
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
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
2018-08-24Drop old ShaderGraph code, obsoleted by VisualShaderRémi Verschelde
2018-07-29Expose _clips_input as a virtual function, closes #15358Juan Linietsky
2018-07-24Opens the menu with the same parent on mouse focusGuilherme Felipe
2018-07-20-Fix tooltips in inspector, now they show as rich text.Juan Linietsky
2018-07-05Merge pull request #19351 from guilhermefelipecgs/fix_reversed_textMax Hilbrunner
Fixes to the new inspector
2018-07-04Fixes to the new inspectorGuilherme Felipe
- Fix inspector dock not updating tree for main resource; - Fixes the inspector input text reverted during typing; - Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04Fixes control nodes size not updated when outside the treegroud
2018-07-04Merge pull request #19782 from Calinou/fix-control-pixel-snap-roundingRémi Verschelde
Fix control pixel snap rounding using floor() instead of round()
2018-07-03Merge pull request #18634 from groud/fix_control_child_of_node2dMax Hilbrunner
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-01Fix performance for godot's interfaceGuilherme Felipe
2018-06-27Changes to how node paths are selected from property, allowing setting a hint.Juan Linietsky
2018-06-26Fix control pixel snap rounding using floor() instead of round()Hugo Locurcio
This resulted in small leftwards/upwards movement of controls being faster than it should be. This closes #19763.
2018-06-07Fixes the bad calculation of margin & anchors when child of Node2Dgroud
2018-06-06Fix #16069, #19292, #19267 and #18940Guilherme Felipe
2018-05-17-Ability to open resources in the same windowJuan Linietsky
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-04-13Merge pull request #17502 from groud/2Deditor_rectJuan Linietsky
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-10Merge pull request #17081 from endragor/no-press-when-scrollRémi Verschelde
Make Button not emit press when container is scrolled
2018-04-09Make BaseButton not emit press when container is scrolledRuslan Mustakov
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.
2018-04-08Merge pull request #16574 from isaacremnant/better_grow_directionJuan Linietsky
Added GROW_DIRECTION_BOTH for controls
2018-04-03Remove the selection rect for nodes that do not require itGilles Roudiere
2018-02-19Merge pull request #16566 from groud/gui_input_reworkRémi Verschelde
2D Editor GUI input rework
2018-02-18Force controls to save rect_clip_content since they do not all default to false.isaacremnant
2018-02-162D editor GUI input rework. Changes are:Gilles Roudiere
- The input handling is done into several distinct functions, and the code is more consistent. - The actions' history is more precise ("Edited CanvasItem" is now "Rotated CanvasItem","Moved CanvasItem",etc...) - Fixed a little bug about input key events not forwarded correctly to plugins - IK is followed by default when you move a bone node, the alt-key allow you to move it normally
2018-02-12Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to ↵isaacremnant
grow from its center.
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-13Fix get_parent_range to return 0 when there is no parentRuslan Mustakov
Fixes #15635
2018-01-13Small fix for Control bindingsletheed
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-11Fixes nodes being resized or moved when changing an anchorGilles Roudiere
2018-01-05Fix theme inheritanceFabio Alessandrelli
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!