[feat] use a list to show thumbnails of recent connections

This commit is contained in:
dijunkun
2024-11-07 16:58:25 +08:00
parent 963f1da1d8
commit de721ac6e3
6 changed files with 24 additions and 16 deletions

View File

@@ -912,7 +912,7 @@ int Render::Run() {
uint32_t now_time = SDL_GetTicks();
if (now_time - recent_connection_image_save_time_ >= 1000) {
int ret = thumbnail_.LoadThumbnail(
main_renderer_, &recent_connection_texture_,
main_renderer_, recent_connection_textures_,
&recent_connection_image_width_, &recent_connection_image_height_);
if (!ret) {
LOG_INFO("Load recent connection thumbnails");