summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #63472 from timothyqiu/tree-row-cell-bgRémi Verschelde2022-07-261-9/+10
|\ | | | | Tree: Don't draw selection background of individual cells in Row mode
| * Tree: Don't draw selection background of individual cells in Row modeHaoyu Qiu2022-07-261-9/+10
| |
* | Fix negative indices in TreeItemkobewi2022-07-251-0/+5
|/
* Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-1/+1
|
* Merge pull request #62781 from MinusKube/tree-slider-bugRémi Verschelde2022-07-131-0/+3
|\ | | | | Fix range slider in tree not updating text value
| * Fix range slider in tree not updating text valueMinusKube2022-07-061-0/+3
| |
* | Horizontal scroll for TreeNinni Pipping2022-07-071-6/+23
| |
* | Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-68/+3
|/
* Handle drawing of relationship lines better to take in to account invisible ↵monkeyman1922022-06-011-1/+1
| | | | children
* Merge pull request #61453 from m3g4d1v3r/masterRémi Verschelde2022-05-311-0/+1
|\ | | | | Fix #61444: Executing Tree.scroll_to_item crashes Godot
| * Add nullptr handling of argument pointer in Tree::scroll_to_itemm3g4d1v3r2022-05-261-0/+1
| |
* | Check visibility of items before drawing their relationship linesmonkeyman1922022-05-261-1/+1
|/
* tree: always emit item_editedNathan Franke2022-05-261-5/+4
|
* Merge pull request #60061 from monkeyman192/allow_treeitem_visibleRémi Verschelde2022-05-241-8/+78
|\ | | | | Allow TreeItem nodes to toggle visibility
| * Allow TreeItem nodes to toggle visibilitymonkeyman1922022-05-161-8/+78
| |
* | Add the button pressed to some signals in Treetrollodel2022-05-211-61/+49
|/
* Fix tree button icon not centered verticallyHaoyu Qiu2022-05-091-5/+2
|
* Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde2022-04-251-2/+2
|\
| * Rename theme properties to include underscoresFireForge2022-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* | 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.
* Merge pull request #60085 from YeldhamDev/relationships_are_hardRémi Verschelde2022-04-111-53/+67
|\
| * Draw relationship lines for items offscreenMichael Alexsander2022-04-091-53/+67
| |
* | Implement Animation Librariesreduz2022-04-111-6/+31
|/ | | | | | | | | | | | * 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.
* Make vararg method bind no return and returnPierre-Thomas Meisels2022-03-301-4/+3
| | | | | | | | | | | | | | 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
* Remove VARIANT_ARG* macrosreduz2022-03-091-1/+1
| | | | | | | | * Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
* Double clicking scene tree icon focuses that nodeFazil Babu2022-02-271-1/+14
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-11/+1
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-148/+156
|
* Improve TreeItem button APIHaoyu Qiu2022-02-081-1/+10
|
* Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde2022-02-081-10/+18
|\
| * Center when scrolling to tree item.Stijn Hinlopen2022-02-051-10/+18
| |
* | Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-1/+1
| | | | | | | | | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* | Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-1/+1
| |
* | Add missing SNAME macro optimization in some function callsjmb4622022-02-061-3/+3
| |
* | Add shortcut_cell double click functionalityGer Hean2022-02-051-1/+1
|/
* Merge pull request #57355 from akien-mga/method-bindings-clearer-typesRémi Verschelde2022-02-011-3/+3
|\
| * Improve some method bindings to use specific `Object` subtypesRémi Verschelde2022-01-281-3/+3
| | | | | | | | | | This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
* | simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-291-2/+4
|/
* Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde2022-01-271-4/+4
|\ | | | | Allow method binds to take Object subclasses as arguments
| * Allow method binds to take Object subclasses as argumentsTechnoPorg2022-01-251-4/+4
| | | | | | | | | | | | This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
* | Merge pull request #53276 from Phischermen/propagate_checkRémi Verschelde2022-01-201-0/+62
|\ \ | |/ |/|
| * Addded methods to propagate checks & refactored classes to use new methods.Kevin Fischer2022-01-181-0/+62
| |
* | Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde2022-01-111-1/+1
|\ \
| * | Rename speed to velocity when it's a directional VectorMarcel Admiraal2021-12-291-1/+1
| | |
* | | Merge pull request #55791 from ↵Rémi Verschelde2022-01-051-6/+3
|\ \ \ | | | | | | | | | | | | kleonc/tree-dont-consume-mouse-if-collapser-not-visible
| * | | Tree Don't consume mouse event by collapse arrow which isn't shownkleonc2021-12-101-6/+3
| |/ /
* | | Merge pull request #56346 from pycbouh/control-treentegerRémi Verschelde2022-01-051-1/+1
|\ \ \
| * | | Fix an incorrect exposed property type in TreeYuri Sizov2021-12-301-1/+1
| |/ /
* | | Merge pull request #56408 from eazrael/tree-fix-selectionmode-rowRémi Verschelde2022-01-051-2/+4
|\ \ \ | |_|/ |/| | Tree: Fix de-select when selection mode set to SELECT_ROW
| * | Tree: Fix de-select when selection mode set to SELECT_ROWChristoph Nelles2022-01-021-2/+4
| |/ | | | | | | | | | | | | | | | | It no longer de-selects an already selected row if the SELECT_MODE is set to SELECT_ROW. Update scene/gui/tree.cpp Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>