util.h 413 B

1234567891011121314
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <QFont>
  6. #include <QString>
  7. /// Returns a QFont object appropriate to use as a monospace font for debugging widgets, etc.
  8. QFont GetMonospaceFont();
  9. /// Convert a size in bytes into a readable format (KiB, MiB, etc.)
  10. QString ReadableByteSize(qulonglong size);