RhythmGame 1.4.3
Loading...
Searching...
No Matches
AvatarImageProvider.h
Go to the documentation of this file.
1//
2// Created by PC on 15/09/2025.
3//
4
5#ifndef RHYTHMGAME_AVATARIMAGEPROVIDER_H
6#define RHYTHMGAME_AVATARIMAGEPROVIDER_H
7#include <QQuickImageProvider>
8#include <filesystem>
9
10namespace resource_managers {
11class AvatarImageProvider final : public QQuickImageProvider
12{
13 std::vector<std::filesystem::path> assetsPaths;
14 public:
15 AvatarImageProvider(std::vector<std::filesystem::path> assetsPaths);
16 QPixmap requestPixmap(const QString& id,
17 QSize* size,
18 const QSize& requestedSize) override;
19};
20} // namespace resource_managers
21
22#endif // RHYTHMGAME_AVATARIMAGEPROVIDER_H
int size
Definition Lr2SkinParser.cpp:89
Definition AvatarImageProvider.h:12
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override
Definition AvatarImageProvider.cpp:14
Classes and functions related to loading and managing resources such as charts, sounds,...
Definition ProfileArenaIdentityProvider.h:12