summaryrefslogtreecommitdiff
path: root/scene/gui/control.h
AgeCommit message (Collapse)Author
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-01-09Don't compile editor-only function when tools=noGilles Roudière
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-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
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-05-13Improve the anchors and margin workflowGilles Roudiere
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-09-12Add expand/collapse all buttons for the "Errors" tabMichael Alexsander Silva Dias
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-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
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-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-02-Fixes to how hashing happened, now StringName and NodePath use default ↵Juan Linietsky
hasher, this was leading to some severe slowdown in scenarios -Fixes to some duplication scenarios for instanced scenes
2018-06-07Fixes the bad calculation of margin & anchors when child of Node2Dgroud
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-03Remove the selection rect for nodes that do not require itGilles Roudiere
2018-02-12Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to ↵isaacremnant
grow from its center.
2018-01-15Changes the keep_margin parameter to true by default, so that people are not ↵Gilles Roudiere
suprised that set_anchor changes the margins values
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!
2017-12-10fix certain popup close clicks with popup buttonsBernhard Liebl
2017-11-19Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere
2017-11-16Add manual overrides for focus_next and focus_previous on controls similar ↵Saracen
to what can already be done with focus neighbours.
2017-11-10Unify degree members and propertiesletheed
2017-11-10Remove deprecated rotation methodsletheed
2017-09-22Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere
set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22Implements set_margins_preset(...)Gilles Roudiere
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-15Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky
2017-08-13Avoids inverted anchorsGilles Roudiere
Add a push_opposite_anchor argument pushing the opposite anchor if needed
2017-08-13Adds a function to set Anchors with a layout presetGilles Roudiere
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-07-06More fill modes for containers, closes #9504Juan Linietsky
2017-07-06Ability to set rotation and scaling pivot for controls.Juan Linietsky
2017-07-06-Ability for controls to grow the left/top when anchored. This makes ↵Juan Linietsky
anchoring controls to the right/bottom easier when they are resized.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde