diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-08-29 15:42:53 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-08-29 15:42:53 +0200 |
commit | 78653f73398b98071fe9bb4b4a32ec68f674ccfd (patch) | |
tree | bb6ba70e7bad5a53cb9655787ec8ebaf5495285f /src/yuzu/util/util.h | |
parent | 0d2435343a2acf114430a662192eb22470b53d62 (diff) |
Show game compatibility within yuzu
Diffstat (limited to 'src/yuzu/util/util.h')
-rw-r--r-- | src/yuzu/util/util.h | 7 |
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); |