2017-06-16 01:42:12 +02:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-10-17 00:05:43 -05:00
|
|
|
#include "DolphinQt/Config/ToolTipControls/ToolTipSlider.h"
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
namespace Config
|
|
|
|
{
|
|
|
|
template <typename T>
|
2020-09-20 13:58:17 +02:00
|
|
|
class Info;
|
2017-07-30 15:56:12 -04:00
|
|
|
}
|
2017-06-16 01:42:12 +02:00
|
|
|
|
2020-10-17 00:05:43 -05:00
|
|
|
class GraphicsSlider : public ToolTipSlider
|
2017-06-16 01:42:12 +02:00
|
|
|
{
|
2018-05-13 16:16:20 -04:00
|
|
|
Q_OBJECT
|
2017-06-16 01:42:12 +02:00
|
|
|
public:
|
2020-05-02 14:39:40 +02:00
|
|
|
GraphicsSlider(int minimum, int maximum, const Config::Info<int>& setting, int tick = 0);
|
2017-06-16 01:42:12 +02:00
|
|
|
void Update(int value);
|
|
|
|
|
|
|
|
private:
|
2020-05-02 14:39:40 +02:00
|
|
|
const Config::Info<int>& m_setting;
|
2017-06-16 01:42:12 +02:00
|
|
|
};
|