summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.h
blob: 05cacf0991fd2ef8ef4be692b3c00025da3379c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include "DolphinQt/Config/Graphics/GraphicsWidget.h"

class GraphicsWindow;
class QCheckBox;

class AdvancedWidget final : public GraphicsWidget
{
  Q_OBJECT
public:
  explicit AdvancedWidget(GraphicsWindow* parent);

private:
  void LoadSettings() override;
  void SaveSettings() override;

  void CreateWidgets();
  void ConnectWidgets();
  void AddDescriptions();
  void OnBackendChanged();
  void OnEmulationStateChanged(bool running);

  // Debugging
  QCheckBox* m_enable_wireframe;
  QCheckBox* m_show_statistics;
  QCheckBox* m_enable_format_overlay;
  QCheckBox* m_enable_api_validation;

  // Utility
  QCheckBox* m_dump_textures;
  QCheckBox* m_prefetch_custom_textures;
  QCheckBox* m_dump_efb_target;
  QCheckBox* m_disable_vram_copies;
  QCheckBox* m_dump_use_ffv1;
  QCheckBox* m_load_custom_textures;
  QCheckBox* m_use_fullres_framedumps;
  QCheckBox* m_enable_freelook;

  // Misc
  QCheckBox* m_enable_cropping;
  QCheckBox* m_enable_prog_scan;
  QCheckBox* m_borderless_fullscreen;
};