2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-27 00:26:57 +00:00

chore: implement gtk handler for custom files

This commit is contained in:
Jan Laupetin
2025-10-05 18:31:39 +02:00
parent cb4b69c63b
commit cb2e83dfca
10 changed files with 166 additions and 22 deletions

View File

@@ -0,0 +1,15 @@
#include "UiAssets.h"
#include <format>
std::unordered_map<std::string, UiFile> BuildUiFileLookup()
{
std::unordered_map<std::string, UiFile> result;
for (const auto& asset : MOD_MAN_UI_FILES)
{
result.emplace(std::format("/{}", asset.filename), asset);
}
return result;
}