summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.h
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Improve some method bindings to use specific `Object` subtypesRémi Verschelde2022-01-281-10/+0
| | | | | This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
* Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde2022-01-271-17/+0
|\ | | | | Allow method binds to take Object subclasses as arguments
| * Allow method binds to take Object subclasses as argumentsTechnoPorg2022-01-251-17/+0
| | | | | | | | | | | | 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.
* | Addded methods to propagate checks & refactored classes to use new methods.Kevin Fischer2022-01-181-0/+8
|/
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-10/+3
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
|
* Use "enum class" for input enumsAaron Franke2021-11-121-1/+1
|
* Remove EDSCALE dependency from /scene/guiYuri Sizov2021-10-041-0/+2
|
* Fix minimum size of TreeItemfloppyhammer2021-09-261-3/+3
|
* Cache TreeItem minimum size for performance.Gilles Roudière2021-09-011-0/+3
|
* Makes FontData importable resource.bruvzg2021-08-271-0/+4
| | | | | | | 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.
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-1/+2
| | | | | | | | * `_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.
* Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer2021-08-161-0/+4
|
* Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière2021-08-021-2/+2
| | | | node instead
* Clean up Treereduz2021-07-041-1/+14
| | | | | | | | | | | 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.
* Implement Tree's internal minimum width calculationGilles Roudière2021-06-281-8/+11
|
* Allow disabling scrolling in TreeGilles Roudière2021-06-251-0/+6
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
|
* Documentation search fixesGregory Basile2021-06-161-1/+1
| | | | | | 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"
* Use bold fonts in editorreduz2021-06-021-0/+5
| | | | | | | * Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
* Add highlight to the relationship lines of selected Tree itemsYuri Sizov2021-05-251-0/+8
|
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-23/+76
|
* Merge pull request #44831 from gongpha/dont-update-tree-if-selectedRémi Verschelde2021-05-061-0/+1
|\ | | | | Blocking updating in SceneTreeEditor when an item was selected
| * Blocking updating in SceneTreeEditor when editing an itemgongpha2021-01-061-0/+1
| |
* | Rename `doubleclick` to `double_click`Aaron Franke2021-05-041-1/+1
| |
* | Improved 3D Scene ImporterJuan Linietsky2021-03-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
* | [CTL] Add missing font outline drawing routines and theme constants.bruvzg2021-02-141-1/+1
| |
* | Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-107/+83
| |
* | Expose Tree::scroll_to_item()Pedro J. Estébanez2021-02-081-0/+4
| |
* | Change themes *_color_* to *_*_colorMarcel Admiraal2021-01-241-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Cleanup unused engine codeTomasz Chabora2020-12-091-2/+0
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-1/+48
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Remove empty lines around braces with the formatting scriptAaron Franke2020-11-161-1/+0
|
* Add override keywords.Marcel Admiraal2020-07-101-2/+2
|
* Prevent dragging from SceneTree buttonsHaoyu Qiu2020-07-021-0/+1
|
* Fix doubleclick on tree item, restore input focus on previous windows.Juan Linietsky2020-07-011-2/+2
| | | | Closes #37335