22 lines
436 B
C++
22 lines
436 B
C++
// Copyright 2018 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt/Config/ToolTipControls/ToolTipRadioButton.h"
|
|
|
|
#include "Common/Config/Config.h"
|
|
|
|
class ConfigRadioInt : public ToolTipRadioButton
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ConfigRadioInt(const QString& label, const Config::Info<int>& setting, int value);
|
|
|
|
private:
|
|
void Update();
|
|
|
|
Config::Info<int> m_setting;
|
|
int m_value;
|
|
};
|