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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/yuzu/util/util.h b/src/yuzu/util/util.h
new file mode 100644
index 000000000..ab443ef9b
--- /dev/null
+++ b/src/yuzu/util/util.h
@@ -0,0 +1,14 @@
+// Copyright 2015 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include <QFont>
+#include <QString>
+
+/// Returns a QFont object appropriate to use as a monospace font for debugging widgets, etc.
+QFont GetMonospaceFont();
+
+/// Convert a size in bytes into a readable format (KiB, MiB, etc.)
+QString ReadableByteSize(qulonglong size);