improve file name typing behavior
This commit is contained in:
parent
3eb4e02690
commit
3f19be9b8d
3 changed files with 113 additions and 26 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue