summaryrefslogtreecommitdiffstats
path: root/scene/gui/file_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix FileDialog file name autocompletion with filtersThakee Nathees2022-07-041-1/+6
| | | | Fixes #38195.
* Add root_subfolder to FileDialogkobewi2022-06-281-24/+54
|
* Replace some TTRCs with TTRskobewi2022-06-221-23/+23
|
* Capitalize/fix some property enum hintsFireForge2022-05-121-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.
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-2/+0
|
* [Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg2022-04-051-3/+3
| | | | character input with Alt / Ctrl modifiers, after processing of shortcuts.
* Merge pull request #54399 from ↵Rémi Verschelde2022-03-121-3/+3
|\ | | | | | | | | Calinou/filedialog-current-properties-hint-no-editor Don't store and show current file/directory/path FileDialog properties
| * Don't store and show current file/directory/path FileDialog propertiesHugo Locurcio2021-10-291-3/+3
| | | | | | | | | | These properties are only useful at run-time, so they don't need to be displayed in the editor and stored.
* | Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-1/+1
| |
* | Allow absolute file paths in file dialogsmiremrie2022-03-021-1/+2
| |
* | Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-20/+24
| |
* | Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-24/+24
| | | | | | | | | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* | Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-24/+24
| |
* | [Windows] Add support for handling network share paths.bruvzg2022-01-241-3/+12
| |
* | Fix FileDialog localization issueskobewi2022-01-191-2/+5
| |
* | Create function focus_file_textGer Hean2022-01-121-7/+12
| | | | | | | | | | This function focuses the text field when saving a file It is called when the save file dialogue is opened
* | Improve FileDialog filterskobewi2022-01-081-0/+1
| |
* | 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-2/+2
| |
* | Don't return reference on copy assignment operatorsRémi Verschelde2021-11-301-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
* | Use "enum class" for input enumsAaron Franke2021-11-121-3/+3
|/
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-1/+1
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Add focus font color to Button and derivativesYuri Sizov2021-10-261-0/+6
|
* Add support for internal nodeskobewi2021-08-281-6/+5
|
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-3/+1
| | | | | | | | * `_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.
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-3/+3
|
* Optimize StringName usagereduz2021-07-181-22/+22
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Documentation search fixesGregory Basile2021-06-161-5/+5
| | | | | | 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"
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-2/+2
|
* Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A2021-05-071-1/+1
| | | | InputEventWithModifiers properties/methods
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|
* FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg2021-03-231-0/+88
|
* Merge pull request #46735 from fabriceci/fix-dialog-translationRémi Verschelde2021-03-231-28/+28
|\ | | | | Fix translations update in window & Dialogs (AcceptDialog/ConfirmationDialog/FileDialog) (Fix 39320, 39258 & 45887)
| * fix translation not updating in ConfirmationDialog (and Window by inheritance)fabriceci2021-03-121-28/+28
| |
* | trims_whitespaces_when_creating_folder_windowsPop0p2021-03-131-2/+2
|/ | | | When creating a Windows folder via a Godot's dialog, the extra spaces are not removed which causes problems with Windows. We now remove leading and trailing whitespace when creating a dir.
* Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-4/+0
|
* Change themes *_color_* to *_*_colorMarcel Admiraal2021-01-241-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 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 🎆
* Merge pull request #44569 from madmiraal/rename-unselect-deselectRémi Verschelde2020-12-281-5/+5
|\ | | | | Rename unselect to deselect
| * Rename unselect to deselectMarcel Admiraal2020-12-211-5/+5
| |
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-3/+3
|/
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-10/+10
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-0/+3
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-1/+1
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Updated getters and setters names for toplevelDuroxxigar2020-10-021-1/+1
|
* Small naming and tooltip tweaksMichael Alexsander2020-07-231-1/+1
|
* Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen2020-07-141-0/+4
| | | | resource depency dialogs).
* Remove String::find_last (same as rfind)Stijn Hinlopen2020-07-031-2/+2
|