summaryrefslogtreecommitdiffstats
path: root/scene/gui/file_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve UX of drive lettersPedro J. Estébanez2020-03-031-3/+16
| | | | | | | | | | Namely, move the drive dropdown to just the left of the path text box and don't include the former in the latter. This improves the UX on Windows. In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its dropdown is kept at the original location.
* 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).
* | Double click on a folder didn't open itGil Arasa Verge2020-02-291-0/+1
| | | | | | | | There is a deferred call to _update_file_list inside _tree_item_activated but it was not bound.
* | Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-34/+19
|/ | | | | | | | | 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.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-19/+19
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-3/+3
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Texture refactorJuan Linietsky2020-02-111-2/+2
| | | | | | | | -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.
* Add spaces after commas and strip extra ones in *FileDialog filter menuMichael Alexsander2019-12-061-2/+2
|
* Remove extra spaces from parenthesis in *FileDialog's filter menuMichael Alexsander2019-12-061-3/+3
|
* Merge pull request #33091 from MCrafterzz/fix10567Rémi Verschelde2019-10-291-10/+14
|\ | | | | Improved project creation UX
| * Improved UX of selecting directories in (Editor)FileDialog by hiding unused ↵MCrafterzz2019-10-291-10/+14
| | | | | | | | gui elements and moving the drive selection
* | Scroll back to the top after opening a directory in FileDialogHugo Locurcio2019-10-241-0/+4
|/ | | | | | This also changes the behavior in EditorFileDialog. This closes #26041.
* Fix color of FileDialog iconsYuri Roubinsky2019-10-141-6/+23
|
* Fix crash in Control functionsqarmin2019-10-051-0/+2
|
* Tree: fix and expose icon modulationmerumelu2019-08-241-1/+1
|
* Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio2019-08-211-1/+1
| | | | | | | | The custom color introduced in be8d569744e4eed9acb313d355d96e6989e92087 had the same name as the "folder" icon, which could cause conflicts in the generated documentation. The new name is also more self-explanatory.
* Use a different color for folder icons in file dialogsHugo Locurcio2019-08-201-0/+2
| | | | | | | | | This makes them easier to distinguish from files for quick visual grepping. This can also be used in projects by setting the FileDialog "folder" color. The default value (`Color(1, 1, 1)`) has no visual impact, for compatibility with existing projects.
* Small adjustments to tooltips in '(Editor)FileDialog'Michael Alexsander Silva Dias2019-07-261-2/+2
|
* DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde2019-07-251-3/+2
| | | | | | | | | Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
* Auto-change file extension in EditorFileDialog when filter changesChaosus2019-06-281-0/+14
|
* Some code changed with Clang-Tidyqarmin2019-06-261-5/+2
|
* Add toggle for hidden file visibility in FileDialogMichael Alexsander Silva Dias2019-06-101-8/+15
|
* Remove some redundant linesJames Buck2019-05-291-4/+0
|
* Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-1/+3
| | | | | | It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
* Fix general issues with filesystem-related UI components in the editorMichael Alexsander Silva Dias2019-03-051-1/+2
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Prevent FileDialog from stealing focus when setting current file in editorKanabenki2018-12-141-1/+2
|
* Fix warnings about unhandled enum value in switch [-Wswitch]Rémi Verschelde2018-09-271-0/+4
| | | | | | | | | | | Fixes GCC 5 warnings of the form: core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch] core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch] Those can be trivial cases where adding a default fallback is the solution, or more complex issues/hidden bugs where missed values are actually meant to be handled.
* Make EditorFileDialog be able to pick a folder when entering itMichael Alexsander Silva Dias2018-09-211-1/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selectionRémi Verschelde2018-08-251-2/+14
|\ | | | | Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
| * Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed ↵Alexander Holland2018-08-201-2/+14
| | | | | | | | confusing naming.
* | Fixed !is_inside_tree() errors in file dialogDualMatrix2018-08-181-1/+2
|/ | | | Fixed !is_inside_tree() errors appearing when current_file has a . in it.
* expose lineeditAlexander Holland2018-06-061-0/+1
|
* Fixed disappearing text on filedialog buttonsMax2018-02-211-4/+4
|
* Fixed "Open" button being enabled when nothing is selected in a FileDialog ↵Michael Alexsander Silva Dias2018-02-201-11/+7
| | | | while in "Open folder" mode.
* Bind many more properties to scriptsBojidar Marinov2018-01-121-6/+9
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #13847 from YeldhamDev/filedialog_titleRémi Verschelde2017-12-091-5/+23
|\ | | | | Added "mode_overrides_title" property to FileDialog
| * Added "mode_overrides_title" property to FileDialog.Michael Alexsander Silva Dias2017-12-031-5/+23
| |
* | Fixed FileDialog's "parent folder" button not having a texture.Michael Alexsander Silva Dias2017-12-021-7/+1
|/
* Some improvements to file/dir open/save dialogs:Dmitry Koteroff2017-11-271-6/+51
| | | | | | | | 1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons. 2. Added "go to parent folder" (^) button to Save a File dialog. 3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance) 4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export". 5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
* A few small adjustments to file dialogs:Dmitry Koteroff2017-11-241-2/+28
| | | | | | | a) Added Backspace key support for Tree-based file dialog. b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead). c) Open Directory mode: changed "Open" to "Select Current Folder" d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
* Remove the "." from file manage dialog (open scene, open file, ...)Dmitry Koteroff2017-11-211-1/+4
| | | | | | Also removed the "." from game control's FileDialog component. Also remove the "/" at the end of folders name.
* FileDialog: enlarge the file list a bitPoommetee Ketson2017-10-221-12/+16
|
* FileDialog: fix select index out of rangePoommetee Ketson2017-10-061-2/+3
|
* Match file dialog drive with the current folder.Daniel J. Ramirez2017-10-041-0/+1
|