mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
Improve UX of drive letters
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.
This commit is contained in:
parent
3c7d92c590
commit
aee586553a
17 changed files with 71 additions and 21 deletions
|
|
@ -63,9 +63,10 @@ public:
|
|||
|
||||
virtual int get_drive_count();
|
||||
virtual String get_drive(int p_drive);
|
||||
virtual bool drives_are_shortcuts();
|
||||
|
||||
virtual Error change_dir(String p_dir); ///< can be relative or absolute, return false on success
|
||||
virtual String get_current_dir(); ///< return current dir location
|
||||
virtual String get_current_dir(bool p_include_drive = true); ///< return current dir location
|
||||
virtual Error make_dir(String p_dir);
|
||||
|
||||
virtual bool file_exists(String p_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue