dolphin/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.h

25 lines
432 B
C
Raw Normal View History

// 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
}
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;
};