23 lines
416 B
C++
23 lines
416 B
C++
// Copyright 2018 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QRadioButton>
|
|
|
|
#include "Common/Config/Config.h"
|
|
|
|
class GraphicsRadioInt : public QRadioButton
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GraphicsRadioInt(const QString& label, const Config::Info<int>& setting, int value);
|
|
|
|
private:
|
|
void Update();
|
|
|
|
Config::Info<int> m_setting;
|
|
int m_value;
|
|
};
|