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
|
|
|
|
|
2020-10-17 05:05:43 +00:00
|
|
|
#include "DolphinQt/Config/ToolTipControls/ToolTipRadioButton.h"
|
2018-03-16 13:10:22 +00:00
|
|
|
|
2018-05-11 20:38:44 +00:00
|
|
|
#include "Common/Config/Config.h"
|
2018-03-16 13:10:22 +00:00
|
|
|
|
2020-10-17 05:05:43 +00:00
|
|
|
class GraphicsRadioInt : public ToolTipRadioButton
|
2018-03-16 13:10:22 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2020-05-02 12:39:40 +00:00
|
|
|
GraphicsRadioInt(const QString& label, const Config::Info<int>& setting, int value);
|
2018-03-16 13:10:22 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void Update();
|
|
|
|
|
2020-05-02 12:39:40 +00:00
|
|
|
Config::Info<int> m_setting;
|
2018-03-16 13:10:22 +00:00
|
|
|
int m_value;
|
|
|
|
};
|