2018-03-16 13:10:22 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QRadioButton>
|
|
|
|
|
2018-05-11 20:38:44 +00:00
|
|
|
#include "Common/Config/Config.h"
|
2018-03-16 13:10:22 +00:00
|
|
|
|
|
|
|
class GraphicsRadioInt : public QRadioButton
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
GraphicsRadioInt(const QString& label, const Config::ConfigInfo<int>& setting, int value);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void Update();
|
|
|
|
|
2018-05-11 20:38:44 +00:00
|
|
|
Config::ConfigInfo<int> m_setting;
|
2018-03-16 13:10:22 +00:00
|
|
|
int m_value;
|
|
|
|
};
|