mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
e149ad4f0a
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
58 lines
1.3 KiB
C++
58 lines
1.3 KiB
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
|
|
|
|
class GraphicsBool;
|
|
class GraphicsChoice;
|
|
class GraphicsSlider;
|
|
class GraphicsWindow;
|
|
class QCheckBox;
|
|
class QComboBox;
|
|
class QPushButton;
|
|
class QSlider;
|
|
class ToolTipComboBox;
|
|
|
|
class EnhancementsWidget final : public GraphicsWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit EnhancementsWidget(GraphicsWindow* parent);
|
|
|
|
private:
|
|
void LoadSettings() override;
|
|
void SaveSettings() override;
|
|
|
|
void CreateWidgets();
|
|
void ConnectWidgets();
|
|
void AddDescriptions();
|
|
void ConfigurePostProcessingShader();
|
|
void LoadPPShaders();
|
|
|
|
// Enhancements
|
|
GraphicsChoice* m_ir_combo;
|
|
ToolTipComboBox* m_aa_combo;
|
|
GraphicsChoice* m_af_combo;
|
|
ToolTipComboBox* m_pp_effect;
|
|
QPushButton* m_configure_pp_effect;
|
|
GraphicsBool* m_scaled_efb_copy;
|
|
GraphicsBool* m_per_pixel_lighting;
|
|
GraphicsBool* m_force_texture_filtering;
|
|
GraphicsBool* m_widescreen_hack;
|
|
GraphicsBool* m_disable_fog;
|
|
GraphicsBool* m_force_24bit_color;
|
|
GraphicsBool* m_disable_copy_filter;
|
|
GraphicsBool* m_arbitrary_mipmap_detection;
|
|
|
|
// Stereoscopy
|
|
GraphicsChoice* m_3d_mode;
|
|
GraphicsSlider* m_3d_depth;
|
|
GraphicsSlider* m_3d_convergence;
|
|
GraphicsBool* m_3d_swap_eyes;
|
|
|
|
int m_msaa_modes;
|
|
bool m_block_save;
|
|
};
|