mirror of
https://github.com/Lime3DS/Lime3DS
synced 2025-01-09 13:43:27 +00:00

- Rebranded executable files to reference Lime instead of Citra - Rebranded many files in the source tree to reference Lime instead of Citra - Rebranded many resource files to reference Lime instead of Citra - Rebranded all instances of Citra's reverse DNS to Lime's reverse DNS - Other small misc rebrands
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
// Copyright 2016 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <span>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class ConfigureGraphics;
|
|
}
|
|
|
|
namespace ConfigurationShared {
|
|
enum class CheckState;
|
|
}
|
|
|
|
class ConfigureGraphics : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureGraphics(QString gl_renderer, std::span<const QString> physical_devices,
|
|
bool is_powered_on, QWidget* parent = nullptr);
|
|
~ConfigureGraphics() override;
|
|
|
|
void ApplyConfiguration();
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
void UpdateBackgroundColorButton(const QColor& color);
|
|
|
|
private:
|
|
void SetupPerGameUI();
|
|
void SetPhysicalDeviceComboVisibility(int index);
|
|
|
|
ConfigurationShared::CheckState use_hw_shader;
|
|
ConfigurationShared::CheckState shaders_accurate_mul;
|
|
ConfigurationShared::CheckState use_disk_shader_cache;
|
|
ConfigurationShared::CheckState use_vsync_new;
|
|
ConfigurationShared::CheckState async_shader_compilation;
|
|
ConfigurationShared::CheckState async_presentation;
|
|
ConfigurationShared::CheckState spirv_shader_gen;
|
|
std::unique_ptr<Ui::ConfigureGraphics> ui;
|
|
QColor bg_color;
|
|
};
|