open dialog list files and thumbnail preview

This commit is contained in:
2017-08-10 23:43:57 +01:00
parent 5bc9d443bc
commit 178c944df1
6 changed files with 141 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ std::vector<std::string> Asset::list_files(std::string folder, bool is_asset, co
std::vector<std::string> names;
#ifdef _WIN32
WIN32_FIND_DATAA fd;
HANDLE hFind = ::FindFirstFileA((folder + "*").c_str(), &fd);
HANDLE hFind = ::FindFirstFileA((folder + "\\*").c_str(), &fd);
if (hFind != INVALID_HANDLE_VALUE)
{
do