fix color picker, add project delete button with message box

This commit is contained in:
2017-08-19 12:09:03 +01:00
parent de59ae151c
commit ac3857b697
10 changed files with 102 additions and 46 deletions

View File

@@ -10,6 +10,13 @@
AAssetManager* Asset::m_am;
#endif
bool Asset::delete_file(const std::string& path)
{
LOG("delete project: %s", path.c_str());
std::remove(path.c_str());
return true;
}
std::vector<std::string> Asset::list_files(std::string folder, bool is_asset, const std::string& filter_regex)
{
std::vector<std::string> names;