| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QGroupBox> |
| 7 |
#include <QWidget> |
| 8 |
|
| 9 |
class ConfigBool; |
| 10 |
class ConfigChoice; |
| 11 |
class ConfigInteger; |
| 12 |
class GraphicsPane; |
| 13 |
|
| 14 |
namespace Config |
| 15 |
{ |
| 16 |
class Layer; |
| 17 |
} |
| 18 |
|
| 19 |
class AdvancedWidget final : public QWidget |
| 20 |
{ |
| 21 |
Q_OBJECT |
| 22 |
public: |
| 23 |
explicit AdvancedWidget(GraphicsPane* gfx_pane); |
| 24 |
|
| 25 |
private: |
| 26 |
void CreateWidgets(); |
| 27 |
void ConnectWidgets(); |
| 28 |
void AddDescriptions(); |
| 29 |
void OnBackendChanged(); |
| 30 |
void OnEmulationStateChanged(bool running); |
| 31 |
|
| 32 |
|
| 33 |
ConfigBool* m_enable_wireframe; |
| 34 |
ConfigBool* m_enable_format_overlay; |
| 35 |
ConfigBool* m_enable_api_validation; |
| 36 |
ConfigBool* m_log_render_time; |
| 37 |
|
| 38 |
|
| 39 |
ConfigBool* m_prefetch_custom_textures; |
| 40 |
ConfigBool* m_dump_efb_target; |
| 41 |
ConfigBool* m_dump_xfb_target; |
| 42 |
ConfigBool* m_disable_vram_copies; |
| 43 |
ConfigBool* m_load_custom_textures; |
| 44 |
ConfigBool* m_enable_graphics_mods; |
| 45 |
|
| 46 |
|
| 47 |
ConfigBool* m_dump_textures; |
| 48 |
ConfigBool* m_dump_mip_textures; |
| 49 |
ConfigBool* m_dump_base_textures; |
| 50 |
|
| 51 |
|
| 52 |
ConfigBool* m_dump_use_lossless; |
| 53 |
ConfigChoice* m_frame_dumps_resolution_type; |
| 54 |
ConfigInteger* m_dump_bitrate; |
| 55 |
ConfigInteger* m_png_compression_level; |
| 56 |
|
| 57 |
|
| 58 |
ConfigBool* m_enable_prog_scan; |
| 59 |
ConfigBool* m_backend_multithreading; |
| 60 |
ConfigBool* m_prefer_vs_for_point_line_expansion; |
| 61 |
ConfigBool* m_cpu_cull; |
| 62 |
ConfigBool* m_borderless_fullscreen; |
| 63 |
|
| 64 |
|
| 65 |
ConfigBool* m_crop_to_aspect_ratio; |
| 66 |
ConfigBool* m_crop_custom; |
| 67 |
QGroupBox* m_crop_custom_box; |
| 68 |
ConfigInteger* m_crop_custom_left; |
| 69 |
ConfigInteger* m_crop_custom_top; |
| 70 |
ConfigInteger* m_crop_custom_right; |
| 71 |
ConfigInteger* m_crop_custom_bottom; |
| 72 |
|
| 73 |
|
| 74 |
ConfigBool* m_defer_efb_access_invalidation; |
| 75 |
ConfigBool* m_manual_texture_sampling; |
| 76 |
|
| 77 |
Config::Layer* m_game_layer = nullptr; |
| 78 |
}; |