2017-06-15 17:42:12 -06:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QComboBox>
|
|
|
|
|
2018-05-11 14:38:44 -06:00
|
|
|
#include "Common/Config/Config.h"
|
2017-06-15 17:42:12 -06:00
|
|
|
|
|
|
|
class GraphicsChoice : public QComboBox
|
|
|
|
{
|
2018-05-13 14:16:20 -06:00
|
|
|
Q_OBJECT
|
2017-06-15 17:42:12 -06:00
|
|
|
public:
|
|
|
|
GraphicsChoice(const QStringList& options, const Config::ConfigInfo<int>& setting);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void Update(int choice);
|
|
|
|
|
2018-05-11 14:38:44 -06:00
|
|
|
Config::ConfigInfo<int> m_setting;
|
2017-06-15 17:42:12 -06:00
|
|
|
};
|