summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED`Michael Alexsander2024-11-021-22/+24
|
* Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-251-2/+2
| | | | - Set clang-format `Standard` rule to `c++20`
* Add System Locale layout direction for Control and WindowHaoyu Qiu2024-10-171-4/+16
|
* Add auto translate mode for tooltipsHaoyu Qiu2024-09-261-4/+13
|
* StringName: Fix empty hashrune-scape2024-09-091-1/+0
| | | | +Fixed compat hashes
* Merge pull request #95500 from tetrapod00/zero-separation-focus-neighborRémi Verschelde2024-09-081-1/+24
|\ | | | | | | Fix wrong focus neighbor for grid-aligned 0 separation controls
| * Add tie-breaking to find focus neighbor in Controltetrapod002024-09-061-1/+24
| |
* | Fix super call in various `get_configuration_warnings` methodsA Thousand Ships2024-09-051-1/+1
| |
* | Merge pull request #93800 from EAinsley/fix#92929Rémi Verschelde2024-08-281-1/+1
|\ \ | | | | | | | | | Fix incorrect size calculation when position is set on resized
| * | Notify item_rect_changed before resized.Ainsley Su2024-07-011-1/+1
| | |
* | | Merge pull request #93363 from kitbdev/pass-propagateRémi Verschelde2024-08-281-1/+1
|\ \ \ | | | | | | | | | | | | Clarify Mouse Filter Pass in the Inspector
| * | | Clarify Mouse Filter Pass in the Inspectorkit2024-06-191-1/+1
| |/ /
* | | Merge pull request #84840 from kleonc/control-get-transform-simplificationRémi Verschelde2024-08-261-6/+4
|\ \ \ | | | | | | | | | | | | Simplify `Control` internal transform calculation
| * | | Simplify Control internal transform calculationkleonc2024-08-191-6/+4
| | | |
* | | | Merge pull request #93602 from aaronp64/inspector_latencyRémi Verschelde2024-08-221-24/+24
|\ \ \ \ | |/ / / |/| | | | | | | Improve Editor Inspector/Theme item lookup performance
| * | | Improve Editor Inspector/Theme item lookup performanceaaronp642024-08-201-24/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab - Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions - Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes() - Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead - Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
* | / Split TranslationServer into its own fileHaoyu Qiu2024-08-151-1/+1
| |/ |/|
* | Merge pull request #93749 from ↵Rémi Verschelde2024-07-171-1/+1
|\ \ | | | | | | | | | | | | | | | alvinhochun/gui-snap-to-pixel-round-halfway-to-positive Change GUI controls pixel snap to round halfway towards positive infinity (`floor(x + 0.5)`)
| * | Change GUI controls pixel snap to round halfway to +ve infinityAlvin Wong2024-06-301-1/+1
| |/
* / Fix Control nodes emitting unnecessary resized signalsHendrik Brucker2024-07-051-9/+11
|/
* Invalidate Control global transform before notifying about resize / rect changekleonc2024-05-301-4/+7
|
* Fix theme StyleBox override parameter completionHaoyu Qiu2024-05-241-6/+6
| | | | Also added completion for remove_theme_*_override.
* Use Core/Scene stringnames consistentlykobewi2024-05-131-4/+3
|
* Add shorthand for using singleton string nameskobewi2024-05-111-11/+11
|
* Fetch argument options from ThemeDBkobewi2024-05-071-13/+27
|
* Avoid incorrect computing anchor of Control node when reset on saveSilc Lizard (Tokage) Renew2024-05-051-0/+25
|
* [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-2/+2
| | | | Convenience for a number of cases operating on single values
* Don't store deprecated auto-translate propertyHaoyu Qiu2024-04-151-1/+1
|
* Remove Control z-index warningkobewi2024-04-041-4/+0
|
* Merge pull request #89111 from AThousandShips/vec_useRémi Verschelde2024-03-241-2/+1
|\ | | | | | | Use `Vector*` component-wise `min/max/clamp` functions where applicable
| * Use `Vector*` component-wise `min/max/clamp` functions where applicableA Thousand Ships2024-03-201-2/+1
| |
* | Fixed Timestep Interpolation (2D)Ricardo Buring2024-03-231-0/+2
|/ | | | | | | Adds fixed timestep interpolation to the rendering server (2D only). Switchable on and off with a project setting (default is off). Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* Fix Control::set_global_position for rotated/scaled transformskleonc2024-03-151-9/+5
|
* Merge pull request #86743 from Mickeon/autocompletion-optimise-objectRémi Verschelde2024-03-011-1/+3
|\ | | | | | | Optimise comparisons for Object's `get_argument_options`
| * Optimise Object's `get_argument_options`Micky2024-02-291-1/+3
| |
* | Don't access Node3D/Node2D/Control global transform in `reparent` unless neededRémi Verschelde2024-02-291-2/+4
|/ | | | | | Fixes #89002. Co-authored-by: Tamás Gálffy <ezittgtx@gmail.com>
* Fix some DEFVALs to use the right typeRaul Santos2024-02-231-12/+13
| | | | | - Use `StringName()` in DEFVAL for StringNames. - Use `Variant()` in DEFVAL for Variants.
* Revert "Update Node::get_configuration_warnings signature"Rémi Verschelde2024-02-171-3/+3
| | | | This reverts commit d3852deaa450d77edb30df2bb1c77bd7bc45befc.
* Make auto translation inheritableMichael Alexsander2024-02-151-19/+14
|
* Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-1/+1
|
* Update Node::get_configuration_warnings signatureRedMser2024-02-081-3/+3
|
* Merge pull request #84760 from KoBeWi/ultimate_get_property_list_reloadedRémi Verschelde2024-01-291-65/+45
|\ | | | | | | Fetch override list from ThemeDB
| * Fetch override list from ThemeDBkobewi2024-01-291-65/+45
| |
* | Remove unnecessary `this->` expressionsA Thousand Ships2024-01-291-12/+12
| |
* | Fix issue where `set_global_position(global_position)` in `Control` resulted ↵风青山2024-01-231-4/+6
|/ | | | | | in a different result than `global_position` Previously, the case where the pivot point was not at the origin was ignored.
* Update deferred calls to use Callableskobewi2024-01-091-2/+1
|
* Fix missing autocompletion for inheriting classesMicky2024-01-031-1/+1
|
* [Editor] Add option to override editor UI layout direction.bruvzg2023-11-171-3/+36
|
* Merge pull request #84662 from YuriSizov/gui-warn-about-autowrappingRémi Verschelde2023-11-091-0/+1
|\ | | | | | | Warn about autowrapped labels in containers
| * Warn about autowrapped labels in containersYuri Sizov2023-11-091-0/+1
| |