ImageConverter.h 343 B

12345678910111213141516171819
  1. // Copyright 2018 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <vector>
  5. #include "Common/CommonTypes.h"
  6. class QPixmap;
  7. namespace UICommon
  8. {
  9. struct GameBanner;
  10. }
  11. QPixmap ToQPixmap(const UICommon::GameBanner& banner);
  12. QPixmap ToQPixmap(const std::vector<u32>& buffer, int width, int height);