summaryrefslogtreecommitdiffstats
path: root/scene/gui/item_list.h
Commit message (Collapse)AuthorAgeFilesLines
* Add `Auto width` behavior to ItemListGamemap2024-10-041-0/+6
| | | | Co-authored-by: Craig Hupin <althar93@hotmail.com>
* Add auto translate mode for items in `ItemList`Haoyu Qiu2024-09-271-0/+6
|
* Fix Huge .tscn Icon and icon in background of File System panelHilderin2024-06-021-0/+3
|
* Automatically use property count in PropertyListHelperkobewi2024-05-251-1/+1
|
* Add PropertyListHelper to PopupMenukobewi2024-02-111-5/+5
|
* Add PropertyListHelperkobewi2024-01-191-0/+8
|
* Implement automatic translation for ItemListDennisManaa2023-10-231-0/+1
|
* Expose force_update_list_sizeGeorge L. Albany2023-09-151-1/+2
| | | | | | Rename ItemList::_check_shape_changed to force_update_list_size `force_update_list_size` is especially useful for updating the auto_height_value early
* Register theme properties with ThemeDBYuri Sizov2023-09-111-2/+0
|
* Add `get_item_rect` function to `ItemList`Ninni Pipping2023-05-111-0/+2
|
* Merge pull request #76199 from needleful/incremental_search_propertyRémi Verschelde2023-04-251-0/+4
|\ | | | | | | Add allow_search property to ItemList and Tree to control incremental search
| * Add allow_search property to ItemList and Treeneedleful2023-04-181-0/+4
| |
* | Add hovered item style to ItemListDavid Giardi2023-04-181-0/+4
|/
* Prevent crash in ItemList when checking for visible itemsYuri Sizov2023-03-161-1/+3
| | | | | Also some light code refactoring to make the drawing logic more manageable. We also store each item's column for more reliable checks.
* Cleanup unused engine code v2kobewi2023-01-191-1/+0
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Make `Vector2i` values paired with `EDSCALE` be just `Vector2`Michael Alexsander2022-09-081-2/+2
|
* Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-2/+2
| | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* Add a lifecycle method for manual theme item caching to ControlYuri Sizov2022-09-011-3/+25
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-3/+3
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-5/+0
|
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-3/+3
| | | | TextServer.
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-1/+1
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Fixed bug with text going under scrollbaralbertfay11212022-02-251-1/+1
| | | | added classes reference update
* Expose selectable property of ItemList's Itemjmb4622022-01-081-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander2021-11-301-1/+1
|
* Remove ItemList editor and replace it by a property arrayGilles Roudière2021-10-281-6/+11
|
* 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.
* Fix ItemList layout (+EditorFileDialog)Hendrik Brucker2021-08-211-0/+4
|
* Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-23/+23
|
* Merge pull request #33685 from Scony/improve-item-lists-add-item-methodsRémi Verschelde2021-01-151-2/+2
|\ | | | | ItemList's add_(icon_)item method returns id of added item
| * ItemList's add_(icon_)item method returns id of added itemPawel Lampe2020-07-011-2/+2
| | | | | | | | - docs updated
* | 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 🎆
* | Rename unselect to deselectMarcel Admiraal2020-12-211-2/+2
| |
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-0/+17
| | | | | | | | | | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* | Add override keywords.Marcel Admiraal2020-07-101-2/+2
|/
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-2/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Texture refactorJuan Linietsky2020-02-111-8/+8
| | | | | | | | -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
* 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.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Enhance the tilemap transform buttonsgroud2018-10-301-0/+4
|
* Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson2018-03-231-0/+4
| | | | also make TileSetEditorPlgn tile list updates the preview modulate
* expose Itemlist.move_item and optimize functionalityAlexander Holland2018-03-131-1/+1
|
* Added "allow_reselect" property to ItemList and enabled it for the ↵Michael Alexsander Silva Dias2018-02-141-0/+5
| | | | method/help lists.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Merge pull request #14792 from Krakean/enh-1Rémi Verschelde2018-01-031-0/+4
|\ | | | | A few small Debugger->Errors tab enhancements:
| * A few small Debugger->Errors tab enhancements:Dmitry Koteroff2017-12-181-0/+4
| | | | | | | | | | | | 1. Added "Clear" button to clear list. 2. Errors list now populated with newest items comes first, so no need to scroll everytime. 3. Added PopupMenu to errors list with ability to quickly Copy error text & details.
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Item List small enhancementsDmitry Koteroff2017-11-261-0/+2
| | | | Item list: added new signal - nothing_selected (when mouse clicked on empty space), and two new functions - unselect_all() and is_any_selected()