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>
|
|
|
|
|
2018-05-11 20:38:44 +00:00
|
|
|
#include "Common/Config/Config.h"
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
class GraphicsChoice : public QComboBox
|
|
|
|
{
|
2018-05-13 20:16:20 +00:00
|
|
|
Q_OBJECT
|
2017-06-15 23:42:12 +00:00
|
|
|
public:
|
2020-05-02 12:39:40 +00:00
|
|
|
GraphicsChoice(const QStringList& options, const Config::Info<int>& setting);
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void Update(int choice);
|
|
|
|
|
2020-05-02 12:39:40 +00:00
|
|
|
Config::Info<int> m_setting;
|
2017-06-15 23:42:12 +00:00
|
|
|
};
|