options_menu: implemented thumbnails

This commit is contained in:
Hyper
2024-12-08 21:58:12 +00:00
parent 110e1a4575
commit e19e18b14d
11 changed files with 143 additions and 34 deletions

View File

@@ -218,13 +218,8 @@ void ButtonGuide::Init()
g_fntNewRodin = ImFontAtlasSnapshot::GetFont("FOT-NewRodinPro-M.otf", 24.0f * FONT_SCALE);
g_fntNewRodinLQ = ImFontAtlasSnapshot::GetFont("FOT-NewRodinPro-M.otf", 19.0f);
g_upControllerIcons = LoadTexture(
decompressZstd(g_controller, g_controller_uncompressed_size).get(),
g_controller_uncompressed_size);
g_upKBMIcons = LoadTexture(
decompressZstd(g_kbm, g_kbm_uncompressed_size).get(),
g_kbm_uncompressed_size);
g_upControllerIcons = LOAD_ZSTD_TEXTURE(g_controller);
g_upKBMIcons = LOAD_ZSTD_TEXTURE(g_kbm);
}
void ButtonGuide::Draw()