summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #88300 from FaycalElOuariachi/add-TreeItem-is_visible_in_treeRémi Verschelde2024-03-051-0/+4
|\ | | | | | | Add `is_visible_in_tree` in `TreeItem`
| * Add is_visible_in_tree in TreeItemFaycal ElOuariachi2024-03-051-0/+4
| |
* | Add auto translation to `Tree`Michael Alexsander2024-03-011-0/+2
|/
* Add `get_button_color(column, id)`radzo732024-01-281-0/+1
| | | | Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
* Use callable for `TreeItem` custom drawA Thousand Ships2024-01-231-2/+5
| | | | Deprecating old functionality
* Implement disabled state for Checkbox in TreeStanislav Labzyuk2023-11-151-0/+4
|
* Register theme properties with ThemeDBYuri Sizov2023-09-111-2/+1
|
* Correctly display tooltips for buttons in Tree when they overlap cell contentMiguel Pereira2023-08-271-0/+1
|
* GUI: Fix text overlapping icon in `Tree`Danil Alexeev2023-08-241-0/+4
|
* GUI: Fix `Tree` performance regression by using cacheDanil Alexeev2023-08-041-1/+5
|
* Merge pull request #78393 from AThousandShips/tree_tooltipYuri Sizov2023-07-121-0/+1
|\ | | | | | | Add ability to set the tooltip text of a `TreeItem` button
| * Add ability to set the tooltip text of a `TreeItem` buttonNinni Pipping2023-06-181-0/+1
| |
* | Merge pull request #75460 from ↵Yuri Sizov2023-07-121-0/+4
|\ \ | |/ |/| | | | | | | joao-pedro-braz/add_new_item_stylebox_to_the_tree_control Add a new "inner_item_margin" Theme constant to the Tree control
| * Add the "inner_item_margin" Theme constant to the Tree controlJoão Pedro Braz2023-06-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | This PR adds the "inner_item_margin" Theme constant to the Tree Control. It behaves like a horizontal padding (in CSS), but only in the active writing direction (So on LTR it'll apply a left padding and on RTL right padding). The Editor Theme has been updated to make use of this and a result items in Trees and ItemLists no longer "hugs" their border, expressing a proper spacing instead.
* | Tree: Add ability to configure text autowrap mode for individual cellsDanil Alexeev2023-06-031-0/+4
| |
* | Implement `TreeItem.add_child`Yuri Sizov2023-05-311-4/+3
|/
* Merge pull request #76794 from Wiwip/inline-editRémi Verschelde2023-05-111-1/+2
|\ | | | | | | Inline editor for the file system dock
| * Modifies the file system dock to use the inline editor instead of a dialog.Wiwip2023-05-101-1/+2
| | | | | | | | *Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
* | Improve editor state persistenceHendrik Brucker2023-05-111-2/+6
| |
* | Fix multiline items drawing in `Tree`Danil Alexeev2023-04-281-2/+2
|/
* Add support for multiline strings to `Tree`Danil Alexeev2023-04-251-9/+16
|
* Add allow_search property to ItemList and Treeneedleful2023-04-181-0/+4
|
* Add scrollbar offset theme constants to TreeHaoyu Qiu2023-04-061-0/+10
|
* Merge pull request #75340 from Barugon/tree_colunm_title_alignmentRémi Verschelde2023-04-031-0/+4
|\ | | | | | | Implement column title alignment for `Tree`
| * Implement column title alignment for `Tree`Barugon2023-03-271-0/+4
| |
* | Make icons of scripted and custom classes fit the editor UIYuri Sizov2023-03-311-1/+5
|/ | | | | | | | | | | Also: - Add an option to limit the icon size in PopupMenu. This is similar to how this works in Tree and TreeItem. - Add the same option to TabBar. - Add a theme constant for Tree, PopupMenu, Button, and TabBar to apply this limit on the control level. Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
* Merge pull request #70433 from Sauermann/fix-treeitem-idRémi Verschelde2023-01-161-11/+11
|\ | | | | | | Fix confusion about TreeItem.add_button ambiguity between id and index
| * Fix confusion about TreeItem.add_button ambiguity between id and indexMarkus Sauermann2022-12-291-11/+11
| | | | | | | | | | | | | | A TreeItem button has an id and an index, which can be distinct. This leads to confusion. This PR documents the distinction between id and index.
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
|/ | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Rename theme cache separation namesIceflower2022-11-301-2/+2
|
* [Font] Add an import option to pre-render all glyphs required for the ↵bruvzg2022-11-101-0/+1
| | | | translation.
* Tree recursive foldingNinni Pipping2022-09-211-0/+10
|
* Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-2/+4
| | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* Add a lifecycle method for manual theme item caching to ControlYuri Sizov2022-09-011-4/+8
|
* Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky2022-08-301-3/+3
| | | | | | | | | `set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
* Replace Array return types with TypedArray 3kobewi2022-08-241-1/+1
|
* fixed Tree UI control bug corrupting child cachederammo2022-08-041-0/+7
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-1/+2
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Horizontal scroll for TreeNinni Pipping2022-07-071-0/+2
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-10/+0
|
* tree: always emit item_editedNathan Franke2022-05-261-1/+1
|
* Merge pull request #60061 from monkeyman192/allow_treeitem_visibleRémi Verschelde2022-05-241-0/+8
|\ | | | | Allow TreeItem nodes to toggle visibility
| * Allow TreeItem nodes to toggle visibilitymonkeyman1922022-05-161-0/+8
| |
* | Add the button pressed to some signals in Treetrollodel2022-05-211-1/+1
|/
* Implement Label3D node.bruvzg2022-04-221-3/+3
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* Implement Animation Librariesreduz2022-04-111-1/+4
| | | | | | | | | | | | * Instead of containing single animations, AnimationPlayer now contains libraries. * Libraries, in turn, contain the animations. This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models. Missing (will be done on separate PRs): * Make it possible to import scenes (dae/fbx/gltf) as animation libraries. * Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-7/+7
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Make vararg method bind no return and returnPierre-Thomas Meisels2022-03-301-1/+1
| | | | | | | | | | | | | | Type emit_signal exposed method return type set UndoRedo add_do_method and add_undo_method exposed return void Set TreeItem::_call_recursive_bind returns void Set _rpc_bind and _rpc_id_bind returns void in Node Set _call_group and _call_group_flags method returns void in SceneTree Set godot-cpp-test CI flag to false
* Improve TreeItem button APIHaoyu Qiu2022-02-081-0/+1
|
* Center when scrolling to tree item.Stijn Hinlopen2022-02-051-1/+1
|