Qt: implement flow layout game grid

This will allow us to properly style the grid and also remove the need to refresh the whole grid on a window resize
This commit is contained in:
Megamouse 2023-04-28 16:09:08 +02:00
parent 0b628cb50e
commit f115032095
48 changed files with 2563 additions and 1601 deletions

View file

@ -1,6 +1,15 @@
#include "stdafx.h"
#include "game_list.h"
#include "movie_item.h"
game_list::game_list() : QTableWidget(), game_list_base()
{
m_icon_ready_callback = [this](const game_info& game)
{
Q_EMIT IconReady(game);
};
}
void game_list::clear_list()
{
m_last_hover_item = nullptr;