summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-05Bind column_titles_visible as propertykobewi
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
This matches the name of the GDScript function (except it's uppercase here).
2021-11-12Use "enum class" for input enumsAaron Franke
2021-10-25Ignore empty Font resources as theme override.bruvzg
Add range hint to font_size properties. Remove excessive `base_size` Font property.
2021-10-23Fix possible crash when calling Tree.notification from _readyRobin Arys
2021-10-04Remove EDSCALE dependency from /scene/guiYuri Sizov
2021-09-28Fix tree title column size minimum widthjmb462
2021-09-26Fix minimum size of TreeItemfloppyhammer
2021-09-25Merge pull request #53049 from AnilBK/dont-construct-2Rémi Verschelde
2021-09-25Construct values only when necessary.Anilforextra
2021-09-25Correctly calculate position of the folding arrow in TreeYuri Sizov
2021-09-15Merge pull request #52313 from groud/cache_tree_item_sizeRémi Verschelde
2021-09-13Fix error when click edge of the tree iconTomasz Chabora
2021-09-01Cache TreeItem minimum size for performance.Gilles Roudière
2021-08-28Add support for internal nodeskobewi
2021-08-27Merge pull request #52096 from kleonc/tree-item-drag-drop-drawingMax Hilbrunner
Tree Fix line rendering when drag and dropping TreeItem
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-08-25Tree Fix line rendering when drag and dropping TreeItemkleonc
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-16Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-13Merge pull request #50135 from KoBeWi/🌲.update()Rémi Verschelde
Update Tree when modified
2021-07-07Merge pull request #49890 from voxelv/fix_tree_range_click_timeout_crash_46648Hugo Locurcio
Avoid using a nullptr root in Tree._range_click_timeout().
2021-07-04Clean up Treereduz
Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
2021-07-04Update Tree when modifiedkobewi
2021-06-30Avoid using a nullptr root in Tree._range_click_timeout().voxelv
Fixes #46648
2021-06-29Fixes crash in case no column in tree is expanded and has minimum sizeGilles Roudière
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-25Allow disabling scrolling in TreeGilles Roudière
2021-06-21Make relationship lines draw on top of TreeItemsYuri Sizov
2021-06-20Use mouse and joypad enums instead of plain integersAaron Franke
Also MIDIMessage
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-06-02Use bold fonts in editorreduz
* Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
2021-06-01fix-tree-item-draggingfloppyhammer
2021-05-26Fix disappearing relationship lines in Tree when item is out of viewYuri Sizov
2021-05-25Add highlight to the relationship lines of selected Tree itemsYuri Sizov
2021-05-25Tweak dozens of editor property hints for consistencyHugo Locurcio
- Update Viewport MSAA property hints to match the currently exposed values. - Add some performance hints to property hints.
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-16Fix Tree::get_column_at_position crashHaoyu Qiu
2021-05-09Fix Tree's background focus outline displaying behind section headingsHugo Locurcio
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-06Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde
Improve the editor theme
2021-05-06Merge pull request #44831 from gongpha/dont-update-tree-if-selectedRémi Verschelde
Blocking updating in SceneTreeEditor when an item was selected
2021-05-04Merge pull request #47855 from aaronfranke/doubleclickRémi Verschelde
Rename `doubleclick` to `double_click`
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-28Calculate __focus_rect when TreeItem is focusedTomasz Chabora