mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-01 02:10:47 +03:00
12 lines
301 B
C
12 lines
301 B
C
|
#include <QQuickImageProvider>
|
||
|
|
||
|
class ColorImageProvider : public QQuickImageProvider
|
||
|
{
|
||
|
public:
|
||
|
ColorImageProvider()
|
||
|
: QQuickImageProvider(QQuickImageProvider::Pixmap)
|
||
|
{}
|
||
|
|
||
|
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override;
|
||
|
};
|