2017-06-15 23:42:12 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QComboBox>
|
|
|
|
|
|
|
|
namespace Config
|
|
|
|
{
|
|
|
|
template <typename T>
|
|
|
|
struct ConfigInfo;
|
2017-07-30 19:56:12 +00:00
|
|
|
}
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
class GraphicsChoice : public QComboBox
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GraphicsChoice(const QStringList& options, const Config::ConfigInfo<int>& setting);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void Update(int choice);
|
|
|
|
|
|
|
|
const Config::ConfigInfo<int>& m_setting;
|
|
|
|
};
|