refactor Brush to be used in shared_ptr

This commit is contained in:
2019-01-22 22:49:43 +01:00
parent 9e76cf3194
commit e26fcf1163
22 changed files with 254 additions and 197 deletions

View File

@@ -128,6 +128,11 @@ std::string Asset::absolute(const std::string& path)
#endif
}
bool Asset::is_asset(const std::string & path)
{
return path.find("data/") != std::string::npos;
}
bool Asset::open(const char* path)
{
//LOG("Asset::open %s", path);