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:
15
src/ModMan/Web/UiAssets.cpp
Normal file
15
src/ModMan/Web/UiAssets.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user