summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2022-08-25Merge pull request #64536 from Mickeon/editor-tree-icon-sizeRémi Verschelde
Account for TreeItem's Cell icon and center the text Popup vertically
2022-08-24Merge pull request #64082 from KoBeWi/array3kRémi Verschelde
2022-08-24Merge pull request #59226 from Rindbee/better-setters-in-gui-controlsYuri Sizov
Improve the setters in gui, return directly if the value does not change.
2022-08-24implemented right click on Tree control headerderammo
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-23Add some codes, returnes directly if the value is not changed.风青山
Avoid executing the following value-changed logics if the value does not really change.
2022-08-19Account for TreeItem's Cell icon and center the text Popup verticallyMicky
2022-08-04fixed Tree UI control bug corrupting child cachederammo
2022-07-26Merge pull request #63472 from timothyqiu/tree-row-cell-bgRémi Verschelde
Tree: Don't draw selection background of individual cells in Row mode
2022-07-26Tree: Don't draw selection background of individual cells in Row modeHaoyu Qiu
2022-07-25Fix negative indices in TreeItemkobewi
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-13Merge pull request #62781 from MinusKube/tree-slider-bugRémi Verschelde
Fix range slider in tree not updating text value
2022-07-07Horizontal scroll for TreeNinni Pipping
2022-07-06Fix range slider in tree not updating text valueMinusKube
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-01Handle drawing of relationship lines better to take in to account invisible ↵monkeyman192
children
2022-05-31Merge pull request #61453 from m3g4d1v3r/masterRémi Verschelde
Fix #61444: Executing Tree.scroll_to_item crashes Godot
2022-05-26Add nullptr handling of argument pointer in Tree::scroll_to_itemm3g4d1v3r
2022-05-26Check visibility of items before drawing their relationship linesmonkeyman192
2022-05-26tree: always emit item_editedNathan Franke
2022-05-24Merge pull request #60061 from monkeyman192/allow_treeitem_visibleRémi Verschelde
Allow TreeItem nodes to toggle visibility
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-16Allow TreeItem nodes to toggle visibilitymonkeyman192
2022-05-09Fix tree button icon not centered verticallyHaoyu Qiu
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- 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
2022-04-22Implement Label3D node.bruvzg
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.
2022-04-11Merge pull request #60085 from YeldhamDev/relationships_are_hardRémi Verschelde
2022-04-11Implement Animation Librariesreduz
* 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.
2022-04-09Draw relationship lines for items offscreenMichael Alexsander
2022-03-30Make vararg method bind no return and returnPierre-Thomas Meisels
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
2022-03-09Remove VARIANT_ARG* macrosreduz
* 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.
2022-02-27Double clicking scene tree icon focuses that nodeFazil Babu
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-08Improve TreeItem button APIHaoyu Qiu
2022-02-08Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
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.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-05Add shortcut_cell double click functionalityGer Hean
2022-02-05Center when scrolling to tree item.Stijn Hinlopen
2022-02-01Merge pull request #57355 from akien-mga/method-bindings-clearer-typesRémi Verschelde
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-28Improve some method bindings to use specific `Object` subtypesRémi Verschelde
This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
2022-01-27Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde
Allow method binds to take Object subclasses as arguments
2022-01-25Allow method binds to take Object subclasses as argumentsTechnoPorg
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.
2022-01-20Merge pull request #53276 from Phischermen/propagate_checkRémi Verschelde
2022-01-18Addded methods to propagate checks & refactored classes to use new methods.Kevin Fischer