summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.h
blob: ff74600ad45e04f1b7d3223429382974398a3ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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::ConfigInfo<int>& setting, int value);

private:
  void Update();

  Config::ConfigInfo<int> m_setting;
  int m_value;
};