RhythmGame 1.4.3
Loading...
Searching...
No Matches
IniImageProvider.h
Go to the documentation of this file.
1//
2// Created by bobini on 04.09.23.
3//
4
5#ifndef RHYTHMGAME_INIIMAGEPROVIDER_H
6#define RHYTHMGAME_INIIMAGEPROVIDER_H
7
8#include <QQuickImageProvider>
9#include <mutex>
10namespace resource_managers {
11
12class IniImageProvider final : public QQuickImageProvider
13{
14 QHash<QString, QHash<QRect, QPixmap>> pixmaps;
15 std::mutex pixmapsMutex;
16
17 public:
19 auto requestPixmap(const QString& id,
20 QSize* size,
21 const QSize& requestedSize) -> QPixmap override;
22};
23
24} // namespace resource_managers
25
26#endif // RHYTHMGAME_INIIMAGEPROVIDER_H
int size
Definition Lr2SkinParser.cpp:89
Definition IniImageProvider.h:13
auto requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) -> QPixmap override
Definition IniImageProvider.cpp:13
IniImageProvider()
Definition IniImageProvider.cpp:70
Classes and functions related to loading and managing resources such as charts, sounds,...
Definition ProfileArenaIdentityProvider.h:12