dotherside/lib/include/DOtherSide/DosQQuickImageProvider.h

21 lines
376 B
C
Raw Normal View History

#pragma once
// std
#include <iostream>
// Qt
#include <QPixmap>
#include <QQuickImageProvider>
#include "DOtherSideTypes.h"
class DosImageProvider : public QQuickImageProvider
{
public:
DosImageProvider(PixmapCallback callback);
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);
private:
PixmapCallback m_pixmap_callback;
};