summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2020-04-08Remove unused ofs variabletheludovyc
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-26Popups have also been converted to windowsJuan Linietsky
Controls using the old modal API have been replaced to use popups.
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-21Added StringName as a variant type.Juan Linietsky
Also changed all relevant properties defined manually to StringName.
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-09Merge pull request #35840 from timothyqiu/groups-matchRémi Verschelde
Fixes add group in Group Editor dialog
2020-02-08Fix text clipping in Tree items not working with negative valuesMichael Alexsander
2020-02-02Fixes add group in Group Editor dialogHaoyu Qiu
Before this fix, new group can't be created if any existing group starts with the new name.
2020-01-03Better horizontal scroll for TreeHaoyu Qiu
* Adds pan gesture support for horizontal scroll. * Scrolls horizontally when needed to ensure cursor visiblility.
2020-01-02Fixes Tree item offset when root is hiddenHaoyu Qiu
Before this fix, one vseparation is counted for a hidden root item.
2020-01-01Ensures cursor visible for Tree with titleHaoyu Qiu
2020-01-01Merge pull request #34724 from timothyqiu/tree-rightRémi Verschelde
Fixes behavior of right arrow key in Tree
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2020-01-01Fixes behavior of right arrow key in TreeHaoyu Qiu
2019-11-12Fixed crash when pressing down key on empty TreePouleyKetchoupp
Fixes #33554
2019-11-10Merge pull request #33516 from qarmin/small_fixesRémi Verschelde
Memory leaks and crash fixes
2019-11-10Memory leak and crash fixesRafał Mikrut
2019-11-03Fixes the edit rect in TreeItemsGilles Roudiere
2019-10-06Added missing bind_method to TreeItem::get_custom_color().dankan1890
Fix #32595
2019-10-04Merge pull request #22834 from lupoDharkael/recursive-itemRémi Verschelde
Add call_recursive method to TreeItem
2019-10-02Handle scrolling correctly in Tree controls inside ScrollContainersMrCdK
2019-09-27doc: Sync classref with current sourceRémi Verschelde
And various fixes to bindings, hyperlinks and an uninitialized variable.
2019-09-27Merge pull request #29681 from swarnimarun/vs-graph-unificationRémi Verschelde
Visual Script Graph Unification
2019-09-26#14011: Implement `TreeItem.get_button_tooltip(column, idx)`.Nolan Darilek
When added to `TreeItem`, buttons are given tooltips. When returned via `get_button(...)`, however, the button is a `Texture` and the tooltip information isn't included. For accessibility purposes, it is useful to have access to the tooltip text. As such, we can retrieve a button's tooltip to use as a button label.
2019-09-26Visualscript editor graph unification & refactoringSwarnim Arun
Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes
2019-09-20Merge pull request #32206 from Calinou/remove-unused-tree-constantsRémi Verschelde
Remove an unused icon and constant in Tree
2019-09-20Remove an unused icon and constant in TreeHugo Locurcio
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-04Add call_recursive method to TreeItemlupoDharkael
2019-09-03Merge pull request #31295 from fstiewitz/focus-rect-issueRémi Verschelde
Fix get_meta error and visual bug when editing scene with keyboard
2019-08-24Tree: fix and expose icon modulationmerumelu
2019-08-11fix(Tree): get_meta conditionFabian Stiewitz
If an item in a Tree has never been selected, its metadata "__focus_rect" is not set. If an unselected item is then edited (Tree::edit_selected()), an error is thrown in console.
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-07-23Inspector: Make default float step configurableRémi Verschelde
Also allow lifting the decimal step formatting with a hint range step of 0. A new `range_step_decimals()` is added for this to avoid breaking compatibility on the general purpose `step_decimals()` (which still returns 0 for an input step of 0). Supersedes #25470. Partial fix for #18251.
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-09TreeItem: Rename new button disable method to set_button_disabledRémi Verschelde
Follow-up to #30408. Also sync classref with current source.
2019-07-07TreeItem: Added a setter for the disabled-property of buttonsMeriipu