Added persistant config for file source

This commit is contained in:
Ryzerth
2021-04-29 22:04:20 +02:00
parent bed0712be1
commit ce8b4ceb44
5 changed files with 22 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ class FileSelect {
public:
FileSelect(std::string defaultPath, std::vector<std::string> filter = {"All Files", "*"});
bool render(std::string id);
void setPath(std::string path);
void setPath(std::string path, bool markChanged = false);
bool pathIsValid();
std::string expandString(std::string input);