[feat] remote host names will be shown below thumbnails

This commit is contained in:
dijunkun
2024-11-07 17:30:55 +08:00
parent de721ac6e3
commit 8c8731909e
4 changed files with 39 additions and 9 deletions

View File

@@ -22,8 +22,9 @@ class Thumbnail {
const std::string& host_name,
const std::string& remote_id);
int LoadThumbnail(SDL_Renderer* renderer, std::vector<SDL_Texture*>& textures,
int* width, int* height);
int LoadThumbnail(SDL_Renderer* renderer,
std::map<std::string, SDL_Texture*>& textures, int* width,
int* height);
private:
std::vector<std::filesystem::path> FindThumbnailPath(