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

#pragma once

#include <QSlider>

namespace Config
{
template <typename T>
struct ConfigInfo;
}

class GraphicsSlider : public QSlider
{
  Q_OBJECT
public:
  GraphicsSlider(int minimum, int maximum, const Config::ConfigInfo<int>& setting, int tick = 0);
  void Update(int value);

private:
  const Config::ConfigInfo<int>& m_setting;
};