Sound drag/drop
This commit is contained in:
@@ -11,7 +11,10 @@ namespace anm2ed
|
||||
Resources::Resources()
|
||||
{
|
||||
for (auto [i, fontInfo] : std::views::enumerate(font::FONTS))
|
||||
{
|
||||
fonts[i] = Font((void*)fontInfo.data, fontInfo.length, font::SIZE);
|
||||
fonts[i].append((void*)font::CJK_INFO.data, font::CJK_INFO.length, font::SIZE);
|
||||
}
|
||||
|
||||
for (auto [i, iconInfo] : std::views::enumerate(icon::ICONS))
|
||||
icons[i] = Texture(iconInfo.data, iconInfo.length, iconInfo.size);
|
||||
|
||||
Reference in New Issue
Block a user