diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-30 21:34:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 21:34:43 -0400 |
commit | 26aaa86ece9cf96b477e0755f5ee7ebe471ef85a (patch) | |
tree | 792b04795f475dbb86b6d678533f4703e09a60d4 /src/yuzu/util/util.h | |
parent | 915ab81ec203d40e6f67d3cfa6e2e26599bec570 (diff) | |
parent | 78653f73398b98071fe9bb4b4a32ec68f674ccfd (diff) |
Merge pull request #1195 from FearlessTobi/port-gamelist-compat
yuzu: Show game compatibility in the game list (PR ported from Citra)
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); |