summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.h
blob: 81c44c5ad26b9f65a620ca88ca9e0b9907cdbf9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <QComboBox>

#include "Common/Config/Config.h"

class GraphicsChoice : public QComboBox
{
  Q_OBJECT
public:
  GraphicsChoice(const QStringList& options, const Config::ConfigInfo<int>& setting);

private:
  void Update(int choice);

  Config::ConfigInfo<int> m_setting;
};