summaryrefslogtreecommitdiff
path: root/src/yuzu/util/util.h
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-08-29 15:42:53 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-08-29 15:42:53 +0200
commit78653f73398b98071fe9bb4b4a32ec68f674ccfd (patch)
treebb6ba70e7bad5a53cb9655787ec8ebaf5495285f /src/yuzu/util/util.h
parent0d2435343a2acf114430a662192eb22470b53d62 (diff)
Show game compatibility within yuzu
Diffstat (limited to 'src/yuzu/util/util.h')
-rw-r--r--src/yuzu/util/util.h7
1 files changed, 7 insertions, 0 deletions
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);