summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-42/+42
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-9/+9
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-261-1/+1
| | | | Still a lot of work to do.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-1/+1
|
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde2020-03-011-1/+1
|\ | | | | Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
| * Rename `scancode` to `keycode`.bruvzg2020-02-251-1/+1
| | | | | | | | | | Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
* | Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-13/+7
|/ | | | | | | | | 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.)
* Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde2020-02-231-1/+1
| | | | | | | | | | 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.
* Added StringName as a variant type.Juan Linietsky2020-02-211-3/+3
| | | | Also changed all relevant properties defined manually to StringName.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-12/+12
| | | | objects and made them default.
* ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky2020-02-121-1/+1
| | | | 32 bits.
* Texture refactorJuan Linietsky2020-02-111-19/+19
| | | | | | | | -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
* Merge pull request #35840 from timothyqiu/groups-matchRémi Verschelde2020-02-091-0/+11
|\ | | | | Fixes add group in Group Editor dialog
| * Fixes add group in Group Editor dialogHaoyu Qiu2020-02-021-0/+11
| | | | | | | | | | Before this fix, new group can't be created if any existing group starts with the new name.
* | Fix text clipping in Tree items not working with negative valuesMichael Alexsander2020-02-081-1/+1
|/
* Better horizontal scroll for TreeHaoyu Qiu2020-01-031-21/+43
| | | | | * Adds pan gesture support for horizontal scroll. * Scrolls horizontally when needed to ensure cursor visiblility.
* Fixes Tree item offset when root is hiddenHaoyu Qiu2020-01-021-1/+4
| | | | Before this fix, one vseparation is counted for a hidden root item.
* Ensures cursor visible for Tree with titleHaoyu Qiu2020-01-011-1/+6
|
* Merge pull request #34724 from timothyqiu/tree-rightRémi Verschelde2020-01-011-2/+1
|\ | | | | Fixes behavior of right arrow key in Tree
| * Fixes behavior of right arrow key in TreeHaoyu Qiu2020-01-011-2/+1
| |
* | Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
|/ | | | | | | | | | | 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.
* Fixed crash when pressing down key on empty TreePouleyKetchoupp2019-11-121-2/+3
| | | | Fixes #33554
* Merge pull request #33516 from qarmin/small_fixesRémi Verschelde2019-11-101-0/+1
|\ | | | | Memory leaks and crash fixes
| * Memory leak and crash fixesRafał Mikrut2019-11-101-0/+1
| |
* | Fixes the edit rect in TreeItemsGilles Roudiere2019-11-031-2/+1
|/
* Added missing bind_method to TreeItem::get_custom_color().dankan18902019-10-061-0/+1
| | | | Fix #32595
* Merge pull request #22834 from lupoDharkael/recursive-itemRémi Verschelde2019-10-041-0/+45
|\ | | | | Add call_recursive method to TreeItem
| * Add call_recursive method to TreeItemlupoDharkael2019-09-041-0/+45
| |
* | Handle scrolling correctly in Tree controls inside ScrollContainersMrCdK2019-10-021-0/+14
| |
* | doc: Sync classref with current sourceRémi Verschelde2019-09-271-1/+1
| | | | | | | | And various fixes to bindings, hyperlinks and an uninitialized variable.
* | Merge pull request #29681 from swarnimarun/vs-graph-unificationRémi Verschelde2019-09-271-1/+3
|\ \ | | | | | | Visual Script Graph Unification
| * | Visualscript editor graph unification & refactoringSwarnim Arun2019-09-261-1/+3
| | | | | | | | | | | | 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
* | | #14011: Implement `TreeItem.get_button_tooltip(column, idx)`.Nolan Darilek2019-09-261-0/+6
|/ / | | | | | | | | | | 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.
* | Merge pull request #32206 from Calinou/remove-unused-tree-constantsRémi Verschelde2019-09-201-2/+0
|\ \ | | | | | | Remove an unused icon and constant in Tree
| * | Remove an unused icon and constant in TreeHugo Locurcio2019-09-201-2/+0
| | |
* | | Fix misc. source comment typosluz.paz2019-09-191-1/+1
|/ / | | | | 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 `
* | Merge pull request #31295 from fstiewitz/focus-rect-issueRémi Verschelde2019-09-031-10/+9
|\ \ | | | | | | Fix get_meta error and visual bug when editing scene with keyboard
| * | fix(Tree): get_meta conditionFabian Stiewitz2019-08-111-10/+9
| | | | | | | | | | | | | | | | | | 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.
* | | Tree: fix and expose icon modulationmerumelu2019-08-241-19/+10
|/ /
* | Remove ERR_EXPLAIN from scene/* codeTomasz Chabora2019-08-091-4/+2
| |
* | Inspector: Make default float step configurableRémi Verschelde2019-07-231-3/+3
| | | | | | | | | | | | | | | | | | | | 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.
* | Changed some code showed in LGTM and Coverageqarmin2019-07-201-2/+0
| |
* | TreeItem: Rename new button disable method to set_button_disabledRémi Verschelde2019-07-091-15/+18
| | | | | | | | | | | | Follow-up to #30408. Also sync classref with current source.
* | TreeItem: Added a setter for the disabled-property of buttonsMeriipu2019-07-071-0/+8
| |
* | Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde2019-06-271-2/+0
|\ \ | | | | | | Remove redundant code, possible NULL pointers and others
| * | Some code changed with Clang-Tidyqarmin2019-06-261-2/+0
| | |
* | | Fixed script and visibility icons's highlight height in treeunknown2019-06-231-0/+2
|/ /
* | Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde2019-06-201-4/+1
|\ \ | | | | | | Remove always true/false values
| * | Fix always true/false valuesqarmin2019-06-201-4/+1
| | |