dolphin/Source/Core/DolphinQt/QtUtils/ImageConverter.h

20 lines
366 B
C++

// Copyright 2018 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <vector>
#include "Common/CommonTypes.h"
class QPixmap;
namespace UICommon
{
struct GameBanner;
}
QPixmap ToQPixmap(const UICommon::GameBanner& banner);
QPixmap ToQPixmap(const std::vector<u32>& buffer, int width, int height);