improve file name typing behavior

This commit is contained in:
tildearrow 2025-09-27 16:33:43 -05:00
parent 3eb4e02690
commit 3f19be9b8d
3 changed files with 113 additions and 26 deletions

View file

@ -73,6 +73,7 @@ class FurnaceFilePicker {
std::vector<FileEntry*> sortedEntries;
std::vector<FileEntry*> filteredEntries;
std::vector<FileEntry*> chosenEntries;
std::vector<String> finalSelection;
std::vector<String> filterOptions;
std::thread* fileThread;
std::mutex entryLock;
@ -104,13 +105,14 @@ class FurnaceFilePicker {
void updateEntryName();
void readDirectory(String path);
String normalizePath(const String& which);
bool isPathAbsolute(const String& p);
public:
void readDirectorySub();
void setHomeDir(String where);
FilePickerStatus getStatus();
const String& getEntryName();
const std::vector<FileEntry*>& getSelected();
const std::vector<String>& getSelected();
void setMobile(bool val);
bool draw();
bool open(String name, String path, bool modal, const std::vector<String>& filter);