1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

generate button from icon in config (big & small)

This commit is contained in:
Laserlicht
2025-09-19 14:35:11 +02:00
parent b93249bba2
commit 6320fd8ab0
6 changed files with 88 additions and 30 deletions

View File

@@ -540,3 +540,8 @@ void RenderHandler::exportGeneratedAssets()
for (const auto & entry : assetGenerator->generateAllImages())
entry.second->exportBitmap(VCMIDirs::get().userDataPath() / "Generated" / (entry.first.getOriginalName() + ".png"), nullptr);
}
std::shared_ptr<AssetGenerator> RenderHandler::getAssetGenerator()
{
return assetGenerator;
}