summaryrefslogtreecommitdiff
path: root/src/yuzu/util/util.h
diff options
context:
space:
mode:
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);