diff options
| author | crueter <crueter@eden-emu.dev> | 2026-02-06 19:51:01 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-02-06 19:51:01 +0100 |
| commit | b9e052b3a7b9d3f265c16e9c5dacb68473b2bd4c (patch) | |
| tree | 9802fc76035552ad6137b580f7737576da1d92b3 /src/yuzu/multiplayer/client_room.cpp | |
| parent | 69aff83ef448b1f76fad1fa6ae46ff9f70b840c0 (diff) | |
[desktop] Basic grid view implementation (#3479)
Closes #3441
Basic impl of a grid view on the game list. The ideal solution here
would be to use QSortFilterProxyModel and abstract the game list model
out to a QStandardItemModel, but that is too much effort for me rn.
Adapted the "card" design from QML, can 1000% be improved but QPainter
is just such a pain to deal with. Implanting a Qt Quick scene into there
would legitimately be easier.
Anyways, margins and text sizes lgtm at all sizes, though please give
feedback on both that and the general card design.
Future TODOs:
- [ ] Auto size mode
- [ ] Refactor to use models
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3479
Diffstat (limited to 'src/yuzu/multiplayer/client_room.cpp')
| -rw-r--r-- | src/yuzu/multiplayer/client_room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/multiplayer/client_room.cpp b/src/yuzu/multiplayer/client_room.cpp index 4e995c044f..2d6bcd3bad 100644 --- a/src/yuzu/multiplayer/client_room.cpp +++ b/src/yuzu/multiplayer/client_room.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later @@ -14,7 +14,7 @@ #include "common/logging/log.h" #include "network/announce_multiplayer_session.h" #include "ui_client_room.h" -#include "yuzu/game_list_p.h" +#include "yuzu/game/game_list_p.h" #include "yuzu/multiplayer/client_room.h" #include "yuzu/multiplayer/message.h" #include "yuzu/multiplayer/moderation_dialog.h" |
