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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user