overlays: Provide home icons in different sizes
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 8 KiB |
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 8 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
bin/Icons/ui/home/32/circle-left-solid.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
bin/Icons/ui/home/32/floppy-disk-solid.png
Normal file
|
After Width: | Height: | Size: 561 B |
BIN
bin/Icons/ui/home/32/home.png
Normal file
|
After Width: | Height: | Size: 384 B |
BIN
bin/Icons/ui/home/32/maximize-solid.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
bin/Icons/ui/home/32/play-button-arrowhead.png
Normal file
|
After Width: | Height: | Size: 509 B |
BIN
bin/Icons/ui/home/32/power-off-solid.png
Normal file
|
After Width: | Height: | Size: 702 B |
BIN
bin/Icons/ui/home/32/rotate-left-solid.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
bin/Icons/ui/home/32/screenshot.png
Normal file
|
After Width: | Height: | Size: 447 B |
BIN
bin/Icons/ui/home/32/settings.png
Normal file
|
After Width: | Height: | Size: 587 B |
BIN
bin/Icons/ui/home/32/video-camera.png
Normal file
|
After Width: | Height: | Size: 354 B |
|
|
@ -40,12 +40,7 @@ namespace rsx::overlays::home_menu
|
|||
|
||||
void load_icon(fa_icon icon)
|
||||
{
|
||||
if (!g_icons_cache.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const std::string image_path = fmt::format("%s/Icons/ui/home/%s", fs::get_config_dir(), fa_icon_to_filename(icon));
|
||||
const std::string image_path = fmt::format("%s/Icons/ui/home/32/%s", fs::get_config_dir(), fa_icon_to_filename(icon));
|
||||
g_icons_cache[icon] = std::make_unique<image_info>(image_path);
|
||||
}
|
||||
|
||||
|
|
|
|||