From ebf9a784a9f7f4148a669dbb39e7cd50df779a14 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Thu, 11 Jan 2018 19:21:20 -0700 Subject: Massive removal of unused modules --- src/yuzu/util/util.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/yuzu/util/util.h (limited to 'src/yuzu/util/util.h') 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 +#include + +/// 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); -- cgit v1.2.3