From 78653f73398b98071fe9bb4b4a32ec68f674ccfd Mon Sep 17 00:00:00 2001 From: fearlessTobi Date: Wed, 29 Aug 2018 15:42:53 +0200 Subject: Show game compatibility within yuzu --- src/yuzu/util/util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/yuzu/util/util.h') diff --git a/src/yuzu/util/util.h b/src/yuzu/util/util.h index ab443ef9b..e6790f260 100644 --- a/src/yuzu/util/util.h +++ b/src/yuzu/util/util.h @@ -12,3 +12,10 @@ QFont GetMonospaceFont(); /// Convert a size in bytes into a readable format (KiB, MiB, etc.) QString ReadableByteSize(qulonglong size); + +/** + * Creates a circle pixmap from a specified color + * @param color The color the pixmap shall have + * @return QPixmap circle pixmap + */ +QPixmap CreateCirclePixmapFromColor(const QColor& color); -- cgit v1.2.3