ui_settings.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <array>
  6. #include <vector>
  7. #include <QByteArray>
  8. #include <QString>
  9. #include <QStringList>
  10. namespace UISettings {
  11. using ContextualShortcut = std::pair<QString, int>;
  12. using Shortcut = std::pair<QString, ContextualShortcut>;
  13. struct Values {
  14. QByteArray geometry;
  15. QByteArray state;
  16. QByteArray renderwindow_geometry;
  17. QByteArray gamelist_header_state;
  18. QByteArray microprofile_geometry;
  19. bool microprofile_visible;
  20. bool single_window_mode;
  21. bool display_titlebar;
  22. bool show_filter_bar;
  23. bool show_status_bar;
  24. bool confirm_before_closing;
  25. bool first_start;
  26. QString roms_path;
  27. QString symbols_path;
  28. QString gamedir;
  29. bool gamedir_deepscan;
  30. QStringList recent_files;
  31. QString theme;
  32. // Shortcut name <Shortcut, context>
  33. std::vector<Shortcut> shortcuts;
  34. uint32_t callout_flags;
  35. };
  36. extern Values values;
  37. }